mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
LibWeb: Use default comparator for PixelUnits
This commit is contained in:
parent
71f56d8697
commit
95d00553c9
|
@ -56,10 +56,7 @@ bool CSSPixels::might_be_saturated() const
|
|||
return raw_value() == NumericLimits<i32>::max() || raw_value() == NumericLimits<i32>::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++()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue