diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-07 20:38:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-24 00:08:35 +0300 |
commit | d1590377de1141144d59ca1160de2822177f6f2a (patch) | |
tree | a368b251dedc7164cadbfe459de4cf5c983acf98 /src/resources/db/commandsdb.cpp | |
parent | 65422e722cfe0616c65498c71aa0651857dcc49a (diff) | |
download | manaplus-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/commandsdb.cpp')
-rw-r--r-- | src/resources/db/commandsdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/commandsdb.cpp b/src/resources/db/commandsdb.cpp index 2338287c2..115046b1d 100644 --- a/src/resources/db/commandsdb.cpp +++ b/src/resources/db/commandsdb.cpp @@ -62,7 +62,7 @@ void CommandsDB::loadXmlFile(const std::string &fileName, const SkipError skipError) { XML::Document doc(fileName, UseVirtFs_true, skipError); - const XmlNodePtrConst rootNode = doc.rootNode(); + XmlNodeConstPtrConst rootNode = doc.rootNode(); if (!rootNode || !xmlNameEqual(rootNode, "commands")) { |