summaryrefslogtreecommitdiff
path: root/src/resources/db/emotedb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-06 23:13:00 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-06 23:13:00 +0300
commit6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6 (patch)
treec31a7e703e9452f667ef5a7f0958375ba388c50e /src/resources/db/emotedb.cpp
parenta86bdc28fb8bc8a70c6a19523789495d87c7a56d (diff)
downloadplus-6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6.tar.gz
plus-6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6.tar.bz2
plus-6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6.tar.xz
plus-6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6.zip
Add strong types bool type UseResman.
Diffstat (limited to 'src/resources/db/emotedb.cpp')
-rw-r--r--src/resources/db/emotedb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/emotedb.cpp b/src/resources/db/emotedb.cpp
index 7da44c0da..37c0bacc7 100644
--- a/src/resources/db/emotedb.cpp
+++ b/src/resources/db/emotedb.cpp
@@ -67,7 +67,7 @@ void EmoteDB::load()
void EmoteDB::loadXmlFile(const std::string &fileName)
{
- XML::Document doc(fileName, true, false);
+ XML::Document doc(fileName, UseResman_true, false);
XmlNodePtrConst rootNode = doc.rootNode();
if (!rootNode || !xmlNameEqual(rootNode, "emotes"))
@@ -143,7 +143,7 @@ void EmoteDB::loadXmlFile(const std::string &fileName)
void EmoteDB::loadSpecialXmlFile(const std::string &fileName)
{
- XML::Document doc(fileName, true, false);
+ XML::Document doc(fileName, UseResman_true, false);
XmlNodePtrConst rootNode = doc.rootNode();
if (!rootNode || !xmlNameEqual(rootNode, "emotes"))