diff --git a/include/mapnik/coord.hpp b/include/mapnik/coord.hpp index 093c18636..0435249cd 100644 --- a/include/mapnik/coord.hpp +++ b/include/mapnik/coord.hpp @@ -94,7 +94,7 @@ struct coord } template - bool operator==(coord const& rhs) + bool operator==(coord const& rhs) const { return x == rhs.x && y == rhs.y; }