summaryrefslogtreecommitdiff
path: root/src/resources/db/emotedb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-16 01:47:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-16 01:47:17 +0300
commitb293d99a34d21d137374e46386b8669907cb3c1d (patch)
tree7e5e20e2b81e239878c13229c4d02139e8b85c2b /src/resources/db/emotedb.cpp
parent34f943198afd1f7f342d63bd70d30cdeacd3dbad (diff)
downloadmanaplus-b293d99a34d21d137374e46386b8669907cb3c1d.tar.gz
manaplus-b293d99a34d21d137374e46386b8669907cb3c1d.tar.bz2
manaplus-b293d99a34d21d137374e46386b8669907cb3c1d.tar.xz
manaplus-b293d99a34d21d137374e46386b8669907cb3c1d.zip
add missing const in xmlnode pointers.
Diffstat (limited to 'src/resources/db/emotedb.cpp')
-rw-r--r--src/resources/db/emotedb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/emotedb.cpp b/src/resources/db/emotedb.cpp
index 7c710795f..594bcce5d 100644
--- a/src/resources/db/emotedb.cpp
+++ b/src/resources/db/emotedb.cpp
@@ -65,7 +65,7 @@ void EmoteDB::load()
void EmoteDB::loadXmlFile(const std::string &fileName)
{
XML::Document doc(fileName);
- XmlNodePtr rootNode = doc.rootNode();
+ XmlNodePtrConst rootNode = doc.rootNode();
if (!rootNode || !xmlNameEqual(rootNode, "emotes"))
{
@@ -139,7 +139,7 @@ void EmoteDB::loadXmlFile(const std::string &fileName)
void EmoteDB::loadSpecialXmlFile(const std::string &fileName)
{
XML::Document doc(fileName);
- XmlNodePtr rootNode = doc.rootNode();
+ XmlNodePtrConst rootNode = doc.rootNode();
if (!rootNode || !xmlNameEqual(rootNode, "emotes"))
{