mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2024-11-23 04:01:55 +00: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
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue