diff --git a/os/include/util/geometry.h b/os/include/util/geometry.h index 75606e07b..423cfd6f8 100644 --- a/os/include/util/geometry.h +++ b/os/include/util/geometry.h @@ -56,6 +56,11 @@ class Genode::Point * Operator for testing non-equality of two points */ bool operator != (Point const &p) const { return p.x() != _x || p.y() != _y; } + + /** + * Operator for testing equality of two points + */ + bool operator == (Point const &p) const { return p.x() == _x && p.y() == _y; } };