summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_industrytype.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_industrytype.hpp')
-rw-r--r--src/ai/api/ai_industrytype.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_industrytype.hpp b/src/ai/api/ai_industrytype.hpp
index 88ba6d730..2e38166b3 100644
--- a/src/ai/api/ai_industrytype.hpp
+++ b/src/ai/api/ai_industrytype.hpp
@@ -29,7 +29,7 @@ public:
* @pre IsValidIndustryType(industry_type).
* @return The name of an industry.
*/
- static const char *GetName(IndustryType industry_type);
+ static char *GetName(IndustryType industry_type);
/**
* Get a list of CargoID possible produced by this industry-type.