(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:
@@ -70,7 +70,7 @@ public:
|
||||
* @pre IsValidStation(station_id).
|
||||
* @return The name of the station.
|
||||
*/
|
||||
static const char *GetName(StationID station_id);
|
||||
static char *GetName(StationID station_id);
|
||||
|
||||
/**
|
||||
* Set the name this station.
|
||||
|
Reference in New Issue
Block a user