From b293d99a34d21d137374e46386b8669907cb3c1d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 16 Jan 2014 01:47:17 +0300 Subject: add missing const in xmlnode pointers. --- src/configuration.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/configuration.cpp') 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")) { -- cgit v1.2.3-70-g09d2