LibGfx: Add Rect::operator!=(Rect)

This commit is contained in:
Andreas Kling 2020-02-11 11:27:13 +01:00
parent f4fa758959
commit 3f58f0e87c

View file

@ -264,6 +264,11 @@ public:
&& m_size == other.m_size;
}
bool operator!=(const Rect& other) const
{
return !(*this == other);
}
void intersect(const Rect&);
static Rect from_two_points(const Point& a, const Point& b)