summaryrefslogtreecommitdiff
path: root/src/configuration.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-06 23:27:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-06 23:27:42 +0300
commit2bca0787182eb1637cd82fc246bc19578e90ca09 (patch)
tree046bc50c0cf38c3f7ad86798556a723e62df5a68 /src/configuration.cpp
parent6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6 (diff)
downloadmv-2bca0787182eb1637cd82fc246bc19578e90ca09.tar.gz
mv-2bca0787182eb1637cd82fc246bc19578e90ca09.tar.bz2
mv-2bca0787182eb1637cd82fc246bc19578e90ca09.tar.xz
mv-2bca0787182eb1637cd82fc246bc19578e90ca09.zip
Add strong typed bool type SkipError.
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r--src/configuration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index 0ed1299bb..d5af8c79f 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -714,7 +714,7 @@ void Configuration::init(const std::string &filename,
const UseResman useResManager)
{
cleanDefaults();
- XML::Document doc(filename, useResManager, false);
+ XML::Document doc(filename, useResManager, SkipError_false);
mFilename = filename;
mUseResManager = useResManager;
@@ -750,7 +750,7 @@ void Configuration::init(const std::string &filename,
void Configuration::reInit()
{
- XML::Document doc(mFilename, mUseResManager, false);
+ XML::Document doc(mFilename, mUseResManager, SkipError_false);
if (!doc.rootNode())
{
logger->log("Couldn't open configuration file: %s", mFilename.c_str());