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/mapreader.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/mapreader.hpp')
-rw-r--r-- | src/game-server/mapreader.hpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/game-server/mapreader.hpp b/src/game-server/mapreader.hpp index d9b68c4e..d5677007 100644 --- a/src/game-server/mapreader.hpp +++ b/src/game-server/mapreader.hpp @@ -40,15 +40,17 @@ class MapReader /** * Read an XML map from a file. */ - static void readMap(const std::string &filename, MapComposite *composite); + static void readMap(const std::string &filename, + MapComposite *composite); private: /** - * Read an XML map from a parsed XML tree, and populate things with objects - * in that map. + * Read an XML map from a parsed XML tree, and populate things with + * objects in that map. */ - static Map* readMap(xmlNodePtr node, std::string const &path, - MapComposite *composite, std::vector<Thing *> &things); + static Map *readMap(xmlNodePtr node, const std::string &path, + MapComposite *composite, + std::vector<Thing *> &things); /** * Reads a map layer and adds it to the given map. @@ -58,7 +60,8 @@ class MapReader /** * Get the string value from the given object property node. */ - static std::string getObjectProperty(xmlNodePtr node, const std::string &def); + static std::string getObjectProperty(xmlNodePtr node, + const std::string &def); /** * Get the integer value from the given object property node. |