diff --git a/Userland/Libraries/LibWeb/PixelUnits.cpp b/Userland/Libraries/LibWeb/PixelUnits.cpp index b373d9935e..fc13a0c39a 100644 --- a/Userland/Libraries/LibWeb/PixelUnits.cpp +++ b/Userland/Libraries/LibWeb/PixelUnits.cpp @@ -56,10 +56,7 @@ bool CSSPixels::might_be_saturated() const return raw_value() == NumericLimits::max() || raw_value() == NumericLimits::min(); } -bool CSSPixels::operator==(CSSPixels const& other) const -{ - return raw_value() == other.raw_value(); -} +bool CSSPixels::operator==(CSSPixels const& other) const = default; CSSPixels& CSSPixels::operator++() {