summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_bridge.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_bridge.hpp')
-rw-r--r--src/ai/api/ai_bridge.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_bridge.hpp b/src/ai/api/ai_bridge.hpp
index 7bd637277..819242e79 100644
--- a/src/ai/api/ai_bridge.hpp
+++ b/src/ai/api/ai_bridge.hpp
@@ -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).