mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
LibWeb: Define operator<
for AvailableSize
This commit is contained in:
parent
3f63be949a
commit
d34007782d
Notes:
sideshowbarker
2024-07-16 22:18:54 +09:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/SerenityOS/serenity/commit/d34007782d Pull-request: https://github.com/SerenityOS/serenity/pull/20528
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user