summaryrefslogtreecommitdiff
path: root/src/ai/ai_config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/ai_config.hpp')
-rw-r--r--src/ai/ai_config.hpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ai/ai_config.hpp b/src/ai/ai_config.hpp
index 39b680f1c..ca8b05a39 100644
--- a/src/ai/ai_config.hpp
+++ b/src/ai/ai_config.hpp
@@ -7,14 +7,11 @@
#include <map>
#include "ai_info.hpp"
-
-#ifndef AI_HPP
-struct ltstr { bool operator()(const char *s1, const char *s2) const { return strcmp(s1, s2) < 0; } };
-#endif /* AI_HPP */
+#include "../core/string_compare_type.hpp"
class AIConfig {
private:
- typedef std::map<const char *, int, ltstr> SettingValueList;
+ typedef std::map<const char *, int, StringCompare> SettingValueList;
public:
AIConfig() :