summaryrefslogtreecommitdiff
path: root/src/resources/db/elementaldb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-07 20:38:10 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-24 00:08:35 +0300
commitd1590377de1141144d59ca1160de2822177f6f2a (patch)
treea368b251dedc7164cadbfe459de4cf5c983acf98 /src/resources/db/elementaldb.cpp
parent65422e722cfe0616c65498c71aa0651857dcc49a (diff)
downloadmanaplus-d1590377de1141144d59ca1160de2822177f6f2a.tar.gz
manaplus-d1590377de1141144d59ca1160de2822177f6f2a.tar.bz2
manaplus-d1590377de1141144d59ca1160de2822177f6f2a.tar.xz
manaplus-d1590377de1141144d59ca1160de2822177f6f2a.zip
Add support for tinyxml2 for reading / writing xml files.
Diffstat (limited to 'src/resources/db/elementaldb.cpp')
-rw-r--r--src/resources/db/elementaldb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/elementaldb.cpp b/src/resources/db/elementaldb.cpp
index 21788b08e..2a626a10e 100644
--- a/src/resources/db/elementaldb.cpp
+++ b/src/resources/db/elementaldb.cpp
@@ -55,7 +55,7 @@ void ElementalDb::loadXmlFile(const std::string &fileName,
const SkipError skipError)
{
XML::Document doc(fileName, UseVirtFs_true, skipError);
- const XmlNodePtr rootNode = doc.rootNode();
+ XmlNodeConstPtr rootNode = doc.rootNode();
if (!rootNode || !xmlNameEqual(rootNode, "elementals"))
{