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:
Jonas 'Sortie' Termansen 2013-08-11 11:02:54 +02:00
parent 6d419a245f
commit 53ac2580ac
2 changed files with 2 additions and 2 deletions

View File

@ -867,7 +867,7 @@ public:
int iFirstUsed;
int iOrigIndex;
bool operator<(const SortEntry& rhs)
bool operator<(const SortEntry& rhs) const
{
return iFirstUsed < rhs.iFirstUsed;
}

View File

@ -867,7 +867,7 @@ public:
int iFirstUsed;
int iOrigIndex;
bool operator<(const SortEntry& rhs)
bool operator<(const SortEntry& rhs) const
{
return iFirstUsed < rhs.iFirstUsed;
}