Skip to content

Commit

Permalink
Replace "and" with "&&" in if conditions.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Sep 5, 2024
1 parent ba753a5 commit df35597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Point.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ struct Point

inline bool operator==(const Point& lhs, const Point& rhs)
{
return lhs.x == rhs.x and lhs.y == rhs.y;
return lhs.x == rhs.x && lhs.y == rhs.y;
}

0 comments on commit df35597

Please sign in to comment.