1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

LibWeb: Remove unused LayoutPosition comparison operators

This commit is contained in:
Andreas Kling 2020-08-07 09:17:34 +02:00
parent b0ab6b9e3f
commit 379e6f5817

View file

@ -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 };
};