Fix build with Clang compiler. Patch from andrew clarke, 3:633/267, provided by Max Vasilyev, 2:5057/77
This commit is contained in:
parent
03588c0f2a
commit
8ba9d19d62
@ -989,7 +989,7 @@ static void SetKeybDefaults() {
|
|||||||
// ------------------------------------------------------------------
|
// ------------------------------------------------------------------
|
||||||
|
|
||||||
//bool CmdKeyCmp(CmdKey a, CmdKey b) {
|
//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);
|
int cmp = CmpV(a.type, b.type);
|
||||||
if(cmp != 0)
|
if(cmp != 0)
|
||||||
|
Reference in New Issue
Block a user