diff --git a/Userland/Libraries/LibWeb/Layout/AvailableSpace.h b/Userland/Libraries/LibWeb/Layout/AvailableSpace.h index 9e65b0ef44..98fd17a65c 100644 --- a/Userland/Libraries/LibWeb/Layout/AvailableSpace.h +++ b/Userland/Libraries/LibWeb/Layout/AvailableSpace.h @@ -48,6 +48,7 @@ public: DeprecatedString to_deprecated_string() const; bool operator==(AvailableSize const& other) const = default; + bool operator<(AvailableSize const& other) const { return m_value < other.m_value; } private: AvailableSize(Type type, CSSPixels);