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