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/deaddb.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/resources/db/deaddb.cpp') diff --git a/src/resources/db/deaddb.cpp b/src/resources/db/deaddb.cpp index a3465dabd..24d62a796 100644 --- a/src/resources/db/deaddb.cpp +++ b/src/resources/db/deaddb.cpp @@ -48,7 +48,9 @@ void DeadDB::load() void DeadDB::loadXmlFile(const std::string &fileName) { - XML::Document *doc = new XML::Document(fileName, UseResman_true, false); + XML::Document *doc = new XML::Document(fileName, + UseResman_true, + SkipError_false); const XmlNodePtrConst root = doc->rootNode(); if (!root || !xmlNameEqual(root, "messages")) -- cgit v1.2.3-70-g09d2