From 6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 6 May 2015 23:13:00 +0300 Subject: Add strong types bool type UseResman. --- src/resources/db/mapdb.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/resources/db/mapdb.cpp') diff --git a/src/resources/db/mapdb.cpp b/src/resources/db/mapdb.cpp index 73a4a9905..a40a7b2ae 100644 --- a/src/resources/db/mapdb.cpp +++ b/src/resources/db/mapdb.cpp @@ -59,7 +59,9 @@ void MapDB::load() void MapDB::loadRemapXmlFile(const std::string &fileName) { - XML::Document *const doc = new XML::Document(fileName, true, false); + XML::Document *const doc = new XML::Document(fileName, + UseResman_true, + false); const XmlNodePtrConst root = doc->rootNode(); if (!root) @@ -140,7 +142,9 @@ void MapDB::readAtlas(XmlNodePtrConst node) void MapDB::loadInfo(const std::string &fileName) { - XML::Document *doc = new XML::Document(fileName, true, false); + XML::Document *doc = new XML::Document(fileName, + UseResman_true, + false); const XmlNodePtrConst root = doc->rootNode(); if (!root) { -- cgit v1.2.3-70-g09d2