summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/TextNode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/TextNode.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Layout/TextNode.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/TextNode.cpp b/Userland/Libraries/LibWeb/Layout/TextNode.cpp
index d8fa4b565d..27c7653f9c 100644
--- a/Userland/Libraries/LibWeb/Layout/TextNode.cpp
+++ b/Userland/Libraries/LibWeb/Layout/TextNode.cpp
@@ -21,9 +21,7 @@ TextNode::TextNode(DOM::Document& document, DOM::Text& text)
set_inline(true);
}
-TextNode::~TextNode()
-{
-}
+TextNode::~TextNode() = default;
static bool is_all_whitespace(StringView string)
{