(svn r15123) -Fix [NoAI]: 'const char *' implies that the return value should not be free'd, which is should .. so make them 'char *'
This commit is contained in:
@@ -112,7 +112,7 @@ public:
|
||||
* @pre IsValidTown(town_id).
|
||||
* @return The name of the town.
|
||||
*/
|
||||
static const char *GetName(TownID town_id);
|
||||
static char *GetName(TownID town_id);
|
||||
|
||||
/**
|
||||
* Gets the number of inhabitants in the town.
|
||||
|
Reference in New Issue
Block a user