diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/scopedsettingsgroupsetter.h | 6 | ||||
-rw-r--r-- | common/utils.h | 8 |
2 files changed, 6 insertions, 8 deletions
diff --git a/common/scopedsettingsgroupsetter.h b/common/scopedsettingsgroupsetter.h index c66f318..adcaa61 100644 --- a/common/scopedsettingsgroupsetter.h +++ b/common/scopedsettingsgroupsetter.h @@ -43,12 +43,6 @@ class ScopedSettingsGroupSetter public: ScopedSettingsGroupSetter(QSettings &settings, const std::initializer_list<QString> &prefixes); - ScopedSettingsGroupSetter(const ScopedSettingsGroupSetter &) = delete; - ScopedSettingsGroupSetter(ScopedSettingsGroupSetter &&) = delete; - - ScopedSettingsGroupSetter &operator =(const ScopedSettingsGroupSetter &) = delete; - ScopedSettingsGroupSetter &operator =(ScopedSettingsGroupSetter &&) = delete; - ~ScopedSettingsGroupSetter(); static ScopedSettingsGroupSetter forDataSource(const KUserFeedback::AbstractDataSource &ds, diff --git a/common/utils.h b/common/utils.h index a2eb689..6bf5fd4 100644 --- a/common/utils.h +++ b/common/utils.h @@ -26,7 +26,9 @@ #include <QtCore/QString> -namespace UsageStatistic::Internal::Utils { +namespace UsageStatistic { +namespace Internal { +namespace Utils { //! Secret key for authentication defined during building constexpr auto secret() { return USP_AUTH_KEY; } @@ -34,4 +36,6 @@ constexpr auto secret() { return USP_AUTH_KEY; } //! Base server URL defined during building constexpr auto serverUrl() { return USP_SERVER_URL; } -} // namespace UsageStatistic::Internal::Utils +} // namespace Utils +} // namespace Internal +} // namespace UsageStatistic |