diff --git a/Userland/Libraries/LibWeb/Layout/AvailableSpace.h b/Userland/Libraries/LibWeb/Layout/AvailableSpace.h index d4984a6146..9e65b0ef44 100644 --- a/Userland/Libraries/LibWeb/Layout/AvailableSpace.h +++ b/Userland/Libraries/LibWeb/Layout/AvailableSpace.h @@ -47,6 +47,8 @@ public: DeprecatedString to_deprecated_string() const; + bool operator==(AvailableSize const& other) const = default; + private: AvailableSize(Type type, CSSPixels); @@ -62,6 +64,8 @@ public: { } + bool operator==(AvailableSpace const& other) const = default; + AvailableSize width; AvailableSize height;