diff options
Diffstat (limited to 'src/ai/api/ai_error.hpp')
-rw-r--r-- | src/ai/api/ai_error.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ai/api/ai_error.hpp b/src/ai/api/ai_error.hpp index c2dd8ba95..44e4573d4 100644 --- a/src/ai/api/ai_error.hpp +++ b/src/ai/api/ai_error.hpp @@ -172,11 +172,11 @@ public: #endif /* EXPORT_SKIP */ private: - typedef std::map<StringID, AIErrorType> AIErrorMap; - typedef std::map<AIErrorType, const char *> AIErrorMapString; + typedef std::map<StringID, AIErrorType> AIErrorMap; ///< The type for mapping between error (internal OpenTTD) StringID to the AI error type. + typedef std::map<AIErrorType, const char *> AIErrorMapString; ///< The type for mapping between error type and textual representation. - static AIErrorMap error_map; - static AIErrorMapString error_map_string; + static AIErrorMap error_map; ///< The mapping between error (internal OpenTTD) StringID to the AI error type. + static AIErrorMapString error_map_string; ///< The mapping between error type and textual representation. }; #endif /* AI_ERROR_HPP */ |