summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-09-08 11:14:29 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-08 11:14:29 +0200
commitef371596a4e0103ff4ef818122bd13175e2cde5e (patch)
tree6eb20eb5c364f3b903937d438254b1407b9387f2 /Userland
parent3a7e26ef2855bcadbea521913529d1ae3cd5004b (diff)
downloadserenity-ef371596a4e0103ff4ef818122bd13175e2cde5e.zip
LibWeb: Remove unnecessary DOM::Position destructor
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibWeb/DOM/Position.cpp4
-rw-r--r--Userland/Libraries/LibWeb/DOM/Position.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Position.cpp b/Userland/Libraries/LibWeb/DOM/Position.cpp
index fca20bc24a..7790e8e1e2 100644
--- a/Userland/Libraries/LibWeb/DOM/Position.cpp
+++ b/Userland/Libraries/LibWeb/DOM/Position.cpp
@@ -18,10 +18,6 @@ Position::Position(Node& node, unsigned offset)
{
}
-Position::~Position()
-{
-}
-
String Position::to_string() const
{
if (!node())
diff --git a/Userland/Libraries/LibWeb/DOM/Position.h b/Userland/Libraries/LibWeb/DOM/Position.h
index 73dd703da0..b6d1bd3ffb 100644
--- a/Userland/Libraries/LibWeb/DOM/Position.h
+++ b/Userland/Libraries/LibWeb/DOM/Position.h
@@ -18,8 +18,6 @@ public:
Position() { }
Position(Node&, unsigned offset);
- ~Position();
-
bool is_valid() const { return m_node; }
Node* node() { return m_node; }