summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_industrytype.hpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2009-01-17 15:31:30 +0000
committertruebrain <truebrain@openttd.org>2009-01-17 15:31:30 +0000
commiteb0d82ada08a5a1f1c229acba8dcee0278603b89 (patch)
tree14e7ce689d02dc05c06feede936f8d1c1bdb8c02 /src/ai/api/ai_industrytype.hpp
parentef75a7af90d9ed2fbcb13d7511d93ff44f4c0cf8 (diff)
downloadopenttd-eb0d82ada08a5a1f1c229acba8dcee0278603b89.tar.xz
(svn r15123) -Fix [NoAI]: 'const char *' implies that the return value should not be free'd, which is should .. so make them 'char *'
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.