Fix broken Point2 inequality operator
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user