(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:
@@ -57,7 +57,7 @@ public:
|
||||
* @pre IsValidBridge(bridge_id).
|
||||
* @return The name the bridge has.
|
||||
*/
|
||||
static const char *GetName(BridgeID bridge_id);
|
||||
static char *GetName(BridgeID bridge_id);
|
||||
|
||||
/**
|
||||
* Get the maximum speed of a bridge (in km/h).
|
||||
|
Reference in New Issue
Block a user