diff --git a/libgnucash/engine/gnc-option-impl.hpp b/libgnucash/engine/gnc-option-impl.hpp index a473c994a4..302a2a2915 100644 --- a/libgnucash/engine/gnc-option-impl.hpp +++ b/libgnucash/engine/gnc-option-impl.hpp @@ -85,21 +85,21 @@ template class GncOptionValue : public OptionClassifier { public: - GncOptionValue(const char* section, const char* name, - const char* key, const char* doc_string, - ValueType value, - GncOptionUIType ui_type = GncOptionUIType::INTERNAL) : + GncOptionValue(const char* section, const char* name, + const char* key, const char* doc_string, + ValueType value, + GncOptionUIType ui_type = GncOptionUIType::INTERNAL) : OptionClassifier{section, name, key, doc_string}, m_ui_type(ui_type), m_value{value}, m_default_value{value} { } - GncOptionValue(const GncOptionValue& from) : + GncOptionValue(const GncOptionValue& from) : OptionClassifier{from.m_section, from.m_name, from.m_sort_tag, from.m_doc_string}, m_ui_type(from.get_ui_type()), m_value{from.get_value()}, m_default_value{from.get_default_value()}{} - GncOptionValue(GncOptionValue&&) = default; - GncOptionValue& operator=(const GncOptionValue&) = default; - GncOptionValue& operator=(GncOptionValue&&) = default; - ~GncOptionValue() = default; + GncOptionValue(GncOptionValue&&) = default; + GncOptionValue& operator=(const GncOptionValue&) = default; + GncOptionValue& operator=(GncOptionValue&&) = default; + ~GncOptionValue() = default; ValueType get_value() const { return m_value; } ValueType get_default_value() const { return m_default_value; } void set_value(ValueType new_value);