Fix broken Point2 inequality operator

This commit is contained in:
Stefan Müller 2025-01-02 17:23:15 +01:00
parent 5909474603
commit 2d63375daa
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ bool Point2::operator==(const Point2& rhs) const
bool Point2::operator!=(const Point2& rhs) const
{
return !(x == y);
return !(*this == rhs);
}
Point2 Point2::operator+(const Point2& rhs) const