mirror of
https://github.com/RGBCube/serenity
synced 2025-06-25 18:22:08 +00:00
LibWeb: Use default comparator for PixelUnits
This commit is contained in:
parent
71f56d8697
commit
95d00553c9
1 changed files with 1 additions and 4 deletions
|
@ -56,10 +56,7 @@ bool CSSPixels::might_be_saturated() const
|
||||||
return raw_value() == NumericLimits<i32>::max() || raw_value() == NumericLimits<i32>::min();
|
return raw_value() == NumericLimits<i32>::max() || raw_value() == NumericLimits<i32>::min();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CSSPixels::operator==(CSSPixels const& other) const
|
bool CSSPixels::operator==(CSSPixels const& other) const = default;
|
||||||
{
|
|
||||||
return raw_value() == other.raw_value();
|
|
||||||
}
|
|
||||||
|
|
||||||
CSSPixels& CSSPixels::operator++()
|
CSSPixels& CSSPixels::operator++()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue