diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-26 17:05:18 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-26 17:18:21 +0200 |
commit | 43e99491a76bb85faf60c004e84b6c2b14cf41e7 (patch) | |
tree | 4aba689b76138118b4da043425fb3e8576db418c /src/game-server/mapmanager.hpp | |
parent | e726c34606f85347e70a0deb6b180db03b6d0c25 (diff) | |
download | manaserv-43e99491a76bb85faf60c004e84b6c2b14cf41e7.tar.gz manaserv-43e99491a76bb85faf60c004e84b6c2b14cf41e7.tar.bz2 manaserv-43e99491a76bb85faf60c004e84b6c2b14cf41e7.tar.xz manaserv-43e99491a76bb85faf60c004e84b6c2b14cf41e7.zip |
Standardize on the position of the const keyword
Same as for the client.
Diffstat (limited to 'src/game-server/mapmanager.hpp')
-rw-r--r-- | src/game-server/mapmanager.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game-server/mapmanager.hpp b/src/game-server/mapmanager.hpp index e3fde61a..23675974 100644 --- a/src/game-server/mapmanager.hpp +++ b/src/game-server/mapmanager.hpp @@ -34,7 +34,7 @@ namespace MapManager /** * Loads map reference file and prepares maps. */ - void initialize(std::string const &mapReferenceFile); + void initialize(const std::string &mapReferenceFile); /** * Destroy loaded maps. @@ -51,12 +51,12 @@ namespace MapManager /** * Returns the requested map */ - MapComposite *getMap(std::string const &mapName); + MapComposite *getMap(const std::string &mapName); /** * Returns all the maps. */ - Maps const &getMaps(); + const Maps &getMaps(); /** * Sets the activity status of the map. |