Fix build with Clang compiler. Patch from andrew clarke, 3:633/267, provided by Max Vasilyev, 2:5057/77

This commit is contained in:
Semen Panevin 2015-07-15 06:52:31 +00:00
parent 03588c0f2a
commit 8ba9d19d62

View File

@ -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)