Codechange: use std::string as script API return type
This commit is contained in:
@@ -43,7 +43,7 @@ public:
|
||||
* @pre IsValidBaseStation(station_id).
|
||||
* @return The name of the station.
|
||||
*/
|
||||
static char *GetName(StationID station_id);
|
||||
static std::optional<std::string> GetName(StationID station_id);
|
||||
|
||||
/**
|
||||
* Set the name this basestation.
|
||||
|
||||
Reference in New Issue
Block a user