From 8ba9d19d623fd7d59c4e415983287767837e2538 Mon Sep 17 00:00:00 2001 From: Semen Panevin Date: Wed, 15 Jul 2015 06:52:31 +0000 Subject: [PATCH] Fix build with Clang compiler. Patch from andrew clarke, 3:633/267, provided by Max Vasilyev, 2:5057/77 --- golded3/gckeys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golded3/gckeys.cpp b/golded3/gckeys.cpp index ae812b5..709dc9f 100644 --- a/golded3/gckeys.cpp +++ b/golded3/gckeys.cpp @@ -989,7 +989,7 @@ static void SetKeybDefaults() { // ------------------------------------------------------------------ //bool CmdKeyCmp(CmdKey a, CmdKey b) { -bool operator<(CmdKey &a, CmdKey &b) { +bool operator<(const CmdKey &a, const CmdKey &b) { int cmp = CmpV(a.type, b.type); if(cmp != 0)