diff options
| author | Jonas 'Sortie' Termansen <[email protected]> | 2013-08-11 11:02:54 +0200 |
|---|---|---|
| committer | Jonas 'Sortie' Termansen <[email protected]> | 2013-08-12 22:49:22 +0200 |
| commit | 53ac2580ac9a515f8cb4ee6a1213ef253e8941f4 (patch) | |
| tree | ba962d3f73a05530070c402cbead0ede32586eb0 /mp/src/utils | |
| parent | Fix vbsp missing skybox error case when building cubemaps. (diff) | |
| download | source-sdk-2013-53ac2580ac9a515f8cb4ee6a1213ef253e8941f4.tar.xz source-sdk-2013-53ac2580ac9a515f8cb4ee6a1213ef253e8941f4.zip | |
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.
Diffstat (limited to 'mp/src/utils')
| -rw-r--r-- | mp/src/utils/common/mstristrip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mp/src/utils/common/mstristrip.cpp b/mp/src/utils/common/mstristrip.cpp index 6a66de2f..9e611f94 100644 --- a/mp/src/utils/common/mstristrip.cpp +++ b/mp/src/utils/common/mstristrip.cpp @@ -867,7 +867,7 @@ public: int iFirstUsed;
int iOrigIndex;
- bool operator<(const SortEntry& rhs)
+ bool operator<(const SortEntry& rhs) const
{
return iFirstUsed < rhs.iFirstUsed;
}
|