diff options
Diffstat (limited to 'common/rect.h')
-rw-r--r-- | common/rect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rect.h b/common/rect.h index 54b219394c..dc97dcceec 100644 --- a/common/rect.h +++ b/common/rect.h @@ -41,8 +41,8 @@ struct Point { Point() : x(0), y(0) {} Point(int16 x1, int16 y1) : x(x1), y(y1) {} - bool operator==(const Point &p) const { return x == p.x && y == p.y; }; - bool operator!=(const Point &p) const { return x != p.x || y != p.y; }; + bool operator==(const Point &p) const { return x == p.x && y == p.y; } + bool operator!=(const Point &p) const { return x != p.x || y != p.y; } /** * Return the square of the distance between this point and the point p. |