1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:07:34 +00:00

LibWeb: Remove unnecessary DOM::Position destructor

This commit is contained in:
Andreas Kling 2021-09-08 11:14:29 +02:00
parent 3a7e26ef28
commit ef371596a4
2 changed files with 0 additions and 6 deletions

View file

@ -18,10 +18,6 @@ Position::Position(Node& node, unsigned offset)
{ {
} }
Position::~Position()
{
}
String Position::to_string() const String Position::to_string() const
{ {
if (!node()) if (!node())

View file

@ -18,8 +18,6 @@ public:
Position() { } Position() { }
Position(Node&, unsigned offset); Position(Node&, unsigned offset);
~Position();
bool is_valid() const { return m_node; } bool is_valid() const { return m_node; }
Node* node() { return m_node; } Node* node() { return m_node; }