From 2c494a886b5dadb3c8db50ca68f1fcce7020e841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Wed, 13 Oct 2021 22:47:03 +0200 Subject: [PATCH] Drop superfluous const on return type --- src/setting.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }