Skip to content

Commit

Permalink
Make the GncOption member variables private.
Browse files Browse the repository at this point in the history
GncOption is intended to be final, so there's no point in protected members.
  • Loading branch information
jralls committed Jul 11, 2021
1 parent 13b94d2 commit 16fd632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libgnucash/app-utils/gnc-option.hpp
Expand Up @@ -139,7 +139,7 @@ class GncOptionValue :
ValueType get_value() const { return m_value; }
ValueType get_default_value() const { return m_default_value; }
void set_value(ValueType new_value) { m_value = new_value; }
protected:
private:
ValueType m_value;
ValueType m_default_value;
};
Expand Down

0 comments on commit 16fd632

Please sign in to comment.