From 2bca0787182eb1637cd82fc246bc19578e90ca09 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 6 May 2015 23:27:42 +0300 Subject: Add strong typed bool type SkipError. --- src/resources/db/mercenarydb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/db/mercenarydb.cpp') diff --git a/src/resources/db/mercenarydb.cpp b/src/resources/db/mercenarydb.cpp index f8ecd9839..a101bc891 100644 --- a/src/resources/db/mercenarydb.cpp +++ b/src/resources/db/mercenarydb.cpp @@ -56,7 +56,7 @@ void MercenaryDB::load() void MercenaryDB::loadXmlFile(const std::string &fileName) { - XML::Document doc(fileName, UseResman_true, false); + XML::Document doc(fileName, UseResman_true, SkipError_false); const XmlNodePtr rootNode = doc.rootNode(); if (!rootNode || !xmlNameEqual(rootNode, "mercenaries")) -- cgit v1.2.3-70-g09d2