summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-03 00:32:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-03 00:32:00 +0300
commitfa21c1b65dbe91a1e6ac880db977416162f268df (patch)
tree7fa06ef18a171d62ff892c99e710d4df7aff91b5 /src/resources/mapreader.h
parent0534847df83047f1ce2605187d45a762ffeae11e (diff)
downloadplus-fa21c1b65dbe91a1e6ac880db977416162f268df.tar.gz
plus-fa21c1b65dbe91a1e6ac880db977416162f268df.tar.bz2
plus-fa21c1b65dbe91a1e6ac880db977416162f268df.tar.xz
plus-fa21c1b65dbe91a1e6ac880db977416162f268df.zip
Add const to more classes.
Diffstat (limited to 'src/resources/mapreader.h')
-rw-r--r--src/resources/mapreader.h7
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