From fa21c1b65dbe91a1e6ac880db977416162f268df Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 3 Sep 2012 00:32:00 +0300 Subject: Add const to more classes. --- src/resources/mapreader.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/resources/mapreader.h') 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 -- cgit v1.2.3-60-g2f50