diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-03 00:32:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-03 00:32:00 +0300 |
commit | fa21c1b65dbe91a1e6ac880db977416162f268df (patch) | |
tree | 7fa06ef18a171d62ff892c99e710d4df7aff91b5 /src/resources/mapreader.h | |
parent | 0534847df83047f1ce2605187d45a762ffeae11e (diff) | |
download | manaplus-fa21c1b65dbe91a1e6ac880db977416162f268df.tar.gz manaplus-fa21c1b65dbe91a1e6ac880db977416162f268df.tar.bz2 manaplus-fa21c1b65dbe91a1e6ac880db977416162f268df.tar.xz manaplus-fa21c1b65dbe91a1e6ac880db977416162f268df.zip |
Add const to more classes.
Diffstat (limited to 'src/resources/mapreader.h')
-rw-r--r-- | src/resources/mapreader.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h index 28fa628db..186d643fc 100644 --- a/src/resources/mapreader.h +++ b/src/resources/mapreader.h @@ -60,18 +60,19 @@ class MapReader * @param props The Properties instance to which the properties will * be assigned. */ - static void readProperties(XmlNodePtr node, Properties* props); + static void readProperties(const XmlNodePtr node, + Properties *const props); /** * Reads a map layer and adds it to the given map. */ - static void readLayer(XmlNodePtr node, Map *map); + static void readLayer(const XmlNodePtr node, Map *const map); /** * Reads a tile set. */ static Tileset *readTileset(XmlNodePtr node, const std::string &path, - Map *map); + Map *const map); }; #endif |