mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2024-12-26 14:55:34 +03:00
Fix SortEntry operator< not being const.
This solves a problem where the standard library expects it to be const, which causes compilation problems on GNU/Linux.
This commit is contained in:
parent
6d419a245f
commit
53ac2580ac
@ -867,7 +867,7 @@ public:
|
||||
int iFirstUsed;
|
||||
int iOrigIndex;
|
||||
|
||||
bool operator<(const SortEntry& rhs)
|
||||
bool operator<(const SortEntry& rhs) const
|
||||
{
|
||||
return iFirstUsed < rhs.iFirstUsed;
|
||||
}
|
||||
|
@ -867,7 +867,7 @@ public:
|
||||
int iFirstUsed;
|
||||
int iOrigIndex;
|
||||
|
||||
bool operator<(const SortEntry& rhs)
|
||||
bool operator<(const SortEntry& rhs) const
|
||||
{
|
||||
return iFirstUsed < rhs.iFirstUsed;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user