1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-27 16:39:09 +00:00

(svn r11896) -Fix (r11886): a missing const broke compilation with MSVC

This commit is contained in:
glx
2008-01-17 16:46:41 +00:00
parent f37174f0e2
commit 4f31704e2e

View File

@@ -72,7 +72,7 @@ int CDECL StringIDSorter(const void *a, const void *b);
/** 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();