author | glx |
Thu, 17 Jan 2008 16:46:41 +0000 | |
changeset 8826 | 35a3dfe12641 |
parent 8825 | 38acac2cd7c8 |
child 8827 | d125b82b86f4 |
--- a/src/strings_func.h Thu Jan 17 16:41:02 2008 +0000 +++ b/src/strings_func.h Thu Jan 17 16:46:41 2008 +0000 @@ -72,7 +72,7 @@ /** Key comparison function for std::map */ struct StringIDCompare { - bool operator()(StringID s1, StringID s2) { return StringIDSorter(&s1, &s2) < 0; } + bool operator()(StringID s1, StringID s2) const { return StringIDSorter(&s1, &s2) < 0; } }; void CheckForMissingGlyphsInLoadedLanguagePack();