diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-11 22:00:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-11 22:00:30 +0300 |
commit | 742b2a22bdcb69e6f615a284065ba2696e7bc261 (patch) | |
tree | 93afc9383c5b444a6cb6ba72cf389d098d02078f /src/configuration.cpp | |
parent | 0a9a03db742454d7410e80fa0e1a4b0c18a37da0 (diff) | |
download | plus-742b2a22bdcb69e6f615a284065ba2696e7bc261.tar.gz plus-742b2a22bdcb69e6f615a284065ba2696e7bc261.tar.bz2 plus-742b2a22bdcb69e6f615a284065ba2696e7bc261.tar.xz plus-742b2a22bdcb69e6f615a284065ba2696e7bc261.zip |
Allow set skip error flag for configuration loading.
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r-- | src/configuration.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp index fd15fec84..ef3c6cf2a 100644 --- a/src/configuration.cpp +++ b/src/configuration.cpp @@ -737,10 +737,13 @@ void ConfigurationObject::initFromXML(const XmlNodePtrConst parentNode) } void Configuration::init(const std::string &filename, - const UseResman useResManager) + const UseResman useResManager, + const SkipError skipError) { cleanDefaults(); - XML::Document doc(filename, useResManager, SkipError_false); + XML::Document doc(filename, + useResManager, + skipError); mFilename = filename; mUseResManager = useResManager; |