mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:07:45 +00:00
LibWeb: Define operator<
for AvailableSize
This commit is contained in:
parent
3f63be949a
commit
d34007782d
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ public:
|
||||||
DeprecatedString to_deprecated_string() const;
|
DeprecatedString to_deprecated_string() const;
|
||||||
|
|
||||||
bool operator==(AvailableSize const& other) const = default;
|
bool operator==(AvailableSize const& other) const = default;
|
||||||
|
bool operator<(AvailableSize const& other) const { return m_value < other.m_value; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
AvailableSize(Type type, CSSPixels);
|
AvailableSize(Type type, CSSPixels);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue