diff options
author | smatz <smatz@openttd.org> | 2009-02-03 18:08:07 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-02-03 18:08:07 +0000 |
commit | 5ad1cd32b2f630f413646131fbdfbae85b3c72f8 (patch) | |
tree | 92c36bf040777addb4a1d7b1f21a0042daf33e26 /src/ai/ai_scanner.hpp | |
parent | d23db8306e55b6cd471d848c6825c78c5269f5f9 (diff) | |
download | openttd-5ad1cd32b2f630f413646131fbdfbae85b3c72f8.tar.xz |
(svn r15324) -Codechange: unify the class used for comparing of strings for std::map
Diffstat (limited to 'src/ai/ai_scanner.hpp')
-rw-r--r-- | src/ai/ai_scanner.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ai/ai_scanner.hpp b/src/ai/ai_scanner.hpp index 3bfa27bfc..9818288bb 100644 --- a/src/ai/ai_scanner.hpp +++ b/src/ai/ai_scanner.hpp @@ -5,6 +5,7 @@ #ifndef AI_SCANNER_HPP #define AI_SCANNER_HPP +#include "../core/string_compare_type.hpp" #include <map> class AIScanner { @@ -73,7 +74,7 @@ public: bool HasAI(const struct ContentInfo *ci, bool md5sum); #endif private: - typedef std::map<const char *, class AILibrary *, ltstr> AILibraryList; + typedef std::map<const char *, class AILibrary *, StringCompare> AILibraryList; /** * Scan the AI dir for scripts. |