From 05b238c879cafcc559978ac922b43d685270ce29 Mon Sep 17 00:00:00 2001 From: lethosor Date: Mon, 7 Aug 2017 09:29:46 -0400 Subject: [PATCH] Fix another diggingInvaders compiler error Windows-specific, for some strange reason Ref #1145 --- plugins/diggingInvaders/diggingInvaders.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/diggingInvaders/diggingInvaders.cpp b/plugins/diggingInvaders/diggingInvaders.cpp index 8be58fd32..4892c5e1d 100644 --- a/plugins/diggingInvaders/diggingInvaders.cpp +++ b/plugins/diggingInvaders/diggingInvaders.cpp @@ -199,7 +199,7 @@ public: } - int32_t operator()(df::coord p1, df::coord p2) { + int32_t operator()(df::coord p1, df::coord p2) const { if ( p1 == p2 ) return 0; auto i1 = pointCost->find(p1); auto i2 = pointCost->find(p2);