# HG changeset patch # User frosch # Date 2011-04-10 15:30:24 # Node ID 47c88050a7672ffaaa5d37257d2382e5feb744c8 # Parent c3661f017dd5b1da83cfdb9be2b743091a679395 (svn r22313) -Cleanup (r22312): Remove some dead code. diff --git a/src/strings_func.h b/src/strings_func.h --- a/src/strings_func.h +++ b/src/strings_func.h @@ -196,12 +196,6 @@ const char *GetCurrentLanguageIsoCode(); int CDECL StringIDSorter(const StringID *a, const StringID *b); -/** Key comparison function for std::map */ -struct StringIDCompare -{ - bool operator()(StringID s1, StringID s2) const { return StringIDSorter(&s1, &s2) < 0; } -}; - void CheckForMissingGlyphsInLoadedLanguagePack(); int strnatcmp(const char *s1, const char *s2);