diff --git a/src/citymania/cm_highlight_type.hpp b/src/citymania/cm_highlight_type.hpp index 79ca931c53..3a9a74c244 100644 --- a/src/citymania/cm_highlight_type.hpp +++ b/src/citymania/cm_highlight_type.hpp @@ -94,7 +94,7 @@ public: class TileIndexDiffCCompare{ public: - bool operator()(const TileIndexDiffC &a, const TileIndexDiffC &b) { + bool operator()(const TileIndexDiffC &a, const TileIndexDiffC &b) const { if (a.x < b.x) return true; if (a.x == b.x && a.y < b.y) return true; return false;