diff --git a/src/setting.h b/src/setting.h index 4960bbf..90ad0d3 100644 --- a/src/setting.h +++ b/src/setting.h @@ -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 set(const T& value); void restore(const Setting& oldSetting) { m_value = oldSetting.get(); }