summaryrefslogtreecommitdiff
path: root/src/resources/db/itemdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-18 01:04:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-18 01:04:46 +0300
commit973b63d58cfeffc7168c00fa25611644bf09756d (patch)
tree27010f77994caa8de11f3811c90782b8dcffca0d /src/resources/db/itemdb.cpp
parent520b6bbc44cf86dd0a761379e7002d850c7c0079 (diff)
downloadmv-973b63d58cfeffc7168c00fa25611644bf09756d.tar.gz
mv-973b63d58cfeffc7168c00fa25611644bf09756d.tar.bz2
mv-973b63d58cfeffc7168c00fa25611644bf09756d.tar.xz
mv-973b63d58cfeffc7168c00fa25611644bf09756d.zip
fix code style.
Diffstat (limited to 'src/resources/db/itemdb.cpp')
-rw-r--r--src/resources/db/itemdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index 9865cc3ef..abc164493 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -225,7 +225,7 @@ void ItemDB::load()
void ItemDB::loadXmlFile(const std::string &fileName, int &tagNum)
{
XML::Document doc(fileName);
- const XmlNodePtr rootNode = doc.rootNode();
+ const XmlNodePtrConst rootNode = doc.rootNode();
if (!rootNode || !xmlNameEqual(rootNode, "items"))
{