summaryrefslogtreecommitdiff
path: root/src/resources/db/moddb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/moddb.cpp')
-rw-r--r--src/resources/db/moddb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/moddb.cpp b/src/resources/db/moddb.cpp
index 32846696b..4cdc96b3d 100644
--- a/src/resources/db/moddb.cpp
+++ b/src/resources/db/moddb.cpp
@@ -51,7 +51,7 @@ void ModDB::load()
void ModDB::loadXmlFile(const std::string &fileName)
{
XML::Document doc(fileName);
- const XmlNodePtr rootNode = doc.rootNode();
+ const XmlNodePtrConst rootNode = doc.rootNode();
if (!rootNode || !xmlNameEqual(rootNode, "mods"))
{