diff options
author | Andreas Kling <kling@serenityos.org> | 2021-09-08 11:14:29 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-08 11:14:29 +0200 |
commit | ef371596a4e0103ff4ef818122bd13175e2cde5e (patch) | |
tree | 6eb20eb5c364f3b903937d438254b1407b9387f2 /Userland | |
parent | 3a7e26ef2855bcadbea521913529d1ae3cd5004b (diff) | |
download | serenity-ef371596a4e0103ff4ef818122bd13175e2cde5e.zip |
LibWeb: Remove unnecessary DOM::Position destructor
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Position.cpp | 4 | ||||
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Position.h | 2 |
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; } |