From 379e6f5817171bbab7a749e5f9b3e32228d40ad2 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 7 Aug 2020 09:17:34 +0200 Subject: [PATCH] LibWeb: Remove unused LayoutPosition comparison operators --- Libraries/LibWeb/Layout/LayoutPosition.h | 18 ------------------ 1 file changed, 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 layout_node; int index_in_node { 0 }; };