diff options
Diffstat (limited to 'src/CRSMConfig.cpp')
| -rw-r--r-- | src/CRSMConfig.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/CRSMConfig.cpp b/src/CRSMConfig.cpp index 25f8bd1..8fe5995 100644 --- a/src/CRSMConfig.cpp +++ b/src/CRSMConfig.cpp @@ -142,14 +142,9 @@ bool CRSMConfig::write(const QString &fileName) } } -void CRSMConfig::operator()(CRSMConfig &&other) +void CRSMConfig::clear() { auto curConfigValues(configValues); - *this = other; + (*this) = CRSMConfig(); configValues = curConfigValues; } - -void CRSMConfig::clear() -{ - (*this)(CRSMConfig()); -} |
