summaryrefslogtreecommitdiff
path: root/src/configuration.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/configuration.cpp
parent34f943198afd1f7f342d63bd70d30cdeacd3dbad (diff)
downloadManaVerse-b293d99a34d21d137374e46386b8669907cb3c1d.tar.gz
ManaVerse-b293d99a34d21d137374e46386b8669907cb3c1d.tar.bz2
ManaVerse-b293d99a34d21d137374e46386b8669907cb3c1d.tar.xz
ManaVerse-b293d99a34d21d137374e46386b8669907cb3c1d.zip
add missing const in xmlnode pointers.
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r--src/configuration.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index cb7adf8f1..ca4542155 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -666,7 +666,7 @@ bool Configuration::resetBoolValue(const std::string &key)
}
-void ConfigurationObject::initFromXML(const XmlNodePtr parent_node)
+void ConfigurationObject::initFromXML(const XmlNodePtrConst parent_node)
{
clear();
@@ -729,7 +729,7 @@ void Configuration::init(const std::string &filename, const bool useResManager)
return;
}
- const XmlNodePtr rootNode = doc.rootNode();
+ const XmlNodePtrConst rootNode = doc.rootNode();
if (!rootNode || !xmlNameEqual(rootNode, "configuration"))
{
@@ -749,7 +749,7 @@ void Configuration::reInit()
return;
}
- const XmlNodePtr rootNode = doc.rootNode();
+ const XmlNodePtrConst rootNode = doc.rootNode();
if (!rootNode || !xmlNameEqual(rootNode, "configuration"))
{