summaryrefslogtreecommitdiff
path: root/src/configuration.h
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/configuration.h
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/configuration.h')
-rw-r--r--src/configuration.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configuration.h b/src/configuration.h
index 0002a815b..c4ce39675 100644
--- a/src/configuration.h
+++ b/src/configuration.h
@@ -244,7 +244,7 @@ class Configuration final : public ConfigurationObject
* @param useResManager Make use of the resource manager.
*/
void init(const std::string &filename,
- const bool useResManager = false);
+ const UseResman useResManager = UseResman_false);
void reInit();
@@ -365,7 +365,7 @@ class Configuration final : public ConfigurationObject
DefaultsData *mDefaultsData;
std::string mDirectory;
std::string mFilename;
- bool mUseResManager;
+ UseResman mUseResManager;
bool mUpdated;
};