diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-03 14:44:44 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-03 14:44:44 +0200 |
commit | 3989e5b19a1472d270c7068b5c69f2eecf0ddeb4 (patch) | |
tree | 7bfbccdbe5a104db94211a7cef6bacb83c59e9e4 /src/Daemon | |
parent | ee2e495f2eafaa8a2f65ad769bef6761e7f02856 (diff) | |
download | abrt-3989e5b19a1472d270c7068b5c69f2eecf0ddeb4.tar.gz abrt-3989e5b19a1472d270c7068b5c69f2eecf0ddeb4.tar.xz abrt-3989e5b19a1472d270c7068b5c69f2eecf0ddeb4.zip |
simplify parameter/return value passing for bools
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon')
-rw-r--r-- | src/Daemon/Settings.cpp | 2 | ||||
-rw-r--r-- | src/Daemon/Settings.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Daemon/Settings.cpp b/src/Daemon/Settings.cpp index d55ac1fb..2c1f3203 100644 --- a/src/Daemon/Settings.cpp +++ b/src/Daemon/Settings.cpp @@ -286,7 +286,7 @@ const CSettings::set_strings_t& CSettings::GetOpenGPGPublicKeys() return m_setOpenGPGPublicKeys; } -const bool& CSettings::GetOpenGPGCheck() +bool CSettings::GetOpenGPGCheck() { return m_bOpenGPGCheck; } diff --git a/src/Daemon/Settings.h b/src/Daemon/Settings.h index 0f920837..437d41aa 100644 --- a/src/Daemon/Settings.h +++ b/src/Daemon/Settings.h @@ -46,7 +46,7 @@ class CSettings const set_strings_t& GetBlackList(); const set_strings_t& GetEnabledPlugins(); const set_strings_t& GetOpenGPGPublicKeys(); - const bool& GetOpenGPGCheck(); + bool GetOpenGPGCheck(); const map_analyzer_actions_and_reporters_t& GetAnalyzerActionsAndReporters(); const unsigned int& GetMaxCrashReportsSize(); const vector_pair_strings_t& GetActionsAndReporters(); |