diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:20:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:20:20 +0300 |
commit | 8fb2c062cd1c03f032b99f4a7e7663c0653ba837 (patch) | |
tree | 0bb3cd9a01f0158822ae58a0d56b8b1808cb9bbc /src/resources/db/horsedb.cpp | |
parent | a9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (diff) | |
download | plus-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.gz plus-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.bz2 plus-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.xz plus-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.zip |
Add missing const in resources directory.
Diffstat (limited to 'src/resources/db/horsedb.cpp')
-rw-r--r-- | src/resources/db/horsedb.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/db/horsedb.cpp b/src/resources/db/horsedb.cpp index 27987c657..8ede4ca3a 100644 --- a/src/resources/db/horsedb.cpp +++ b/src/resources/db/horsedb.cpp @@ -49,10 +49,10 @@ namespace } static void loadDownSprites(XmlNodePtrConst parentNode, - HorseInfo *currentInfo); + HorseInfo *const currentInfo); static void loadUpSprites(XmlNodePtrConst parentNode, - HorseInfo *currentInfo); + HorseInfo *const currentInfo); void HorseDB::load() { @@ -157,7 +157,7 @@ void HorseDB::loadXmlFile(const std::string &fileName) } static void loadDownSprites(XmlNodePtrConst parentNode, - HorseInfo *currentInfo) + HorseInfo *const currentInfo) { for_each_xml_child_node(spriteNode, parentNode) { @@ -170,7 +170,7 @@ static void loadDownSprites(XmlNodePtrConst parentNode, } static void loadUpSprites(XmlNodePtrConst parentNode, - HorseInfo *currentInfo) + HorseInfo *const currentInfo) { for_each_xml_child_node(spriteNode, parentNode) { |