diff options
author | Andreas Kling <kling@serenityos.org> | 2020-08-07 09:17:34 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-07 09:17:34 +0200 |
commit | 379e6f5817171bbab7a749e5f9b3e32228d40ad2 (patch) | |
tree | dec992bb3201d020daf8c79c2bdc7bf2e3974ef0 | |
parent | b0ab6b9e3f5a32da41aefa9cd2dc173be0cfa5d1 (diff) | |
download | serenity-379e6f5817171bbab7a749e5f9b3e32228d40ad2.zip |
LibWeb: Remove unused LayoutPosition comparison operators
-rw-r--r-- | Libraries/LibWeb/Layout/LayoutPosition.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutPosition.h b/Libraries/LibWeb/Layout/LayoutPosition.h index 8168020d52..7eaf47ec78 100644 --- a/Libraries/LibWeb/Layout/LayoutPosition.h +++ b/Libraries/LibWeb/Layout/LayoutPosition.h @@ -33,24 +33,6 @@ namespace Web { class LayoutNode; struct LayoutPosition { - bool operator>=(const LayoutPosition& other) const - { - if (layout_node == other.layout_node) - return index_in_node >= other.index_in_node; - - // FIXME: Implement. - return true; - } - - bool operator<=(const LayoutPosition& other) const - { - if (layout_node == other.layout_node) - return index_in_node <= other.index_in_node; - - // FIXME: Implement. - return false; - } - RefPtr<LayoutNode> layout_node; int index_in_node { 0 }; }; |