diff --git a/Utilities/Config.h b/Utilities/Config.h index be7c58d2dc..3803a29758 100644 --- a/Utilities/Config.h +++ b/Utilities/Config.h @@ -132,6 +132,11 @@ namespace cfg return m_value; } + bool get() const + { + return m_value; + } + void from_default() override; std::string to_string() const override @@ -178,6 +183,11 @@ namespace cfg return m_value; } + T get() const + { + return m_value; + } + void from_default() override { m_value = def; @@ -236,6 +246,11 @@ namespace cfg return m_value; } + int_type get() const + { + return m_value; + } + void from_default() override { m_value = def;