From 6659107625a566d8b34718e9e307f42999dedd3e Mon Sep 17 00:00:00 2001 From: dP Date: Thu, 1 Apr 2021 14:14:20 +0300 Subject: [PATCH] Fix c++17 compilation --- src/citymania/cm_highlight_type.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;