From 328eaa8ded37e86f2575cb2804d1aaa36cdd4a1b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 7 Feb 2015 17:35:02 +0300 Subject: Remove optional parameter from xml document constructor. --- src/resources/db/petdb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/db/petdb.cpp') diff --git a/src/resources/db/petdb.cpp b/src/resources/db/petdb.cpp index 6f283f1aa..c89725a17 100644 --- a/src/resources/db/petdb.cpp +++ b/src/resources/db/petdb.cpp @@ -54,7 +54,7 @@ void PETDB::load() void PETDB::loadXmlFile(const std::string &fileName) { - XML::Document doc(fileName); + XML::Document doc(fileName, true); const XmlNodePtrConst rootNode = doc.rootNode(); if (!rootNode || !xmlNameEqual(rootNode, "pets")) -- cgit v1.2.3-70-g09d2