Drop superfluous const on return type

This commit is contained in:
Michał Janiszewski 2021-10-13 22:47:03 +02:00 committed by GitHub
parent 393a02a225
commit 2c494a886b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ class Setting {
Setting() : m_value() {}
Setting(const T& value) : m_value() { set(value); }
const T get() const { return m_value; }
T get() const { return m_value; }
std::unique_ptr<SettingChangeBase> set(const T& value);
void restore(const Setting<T>& oldSetting) { m_value = oldSetting.get(); }