non-const Property::value()

This commit is contained in:
Robert Haschke 2019-03-04 16:07:29 +01:00
parent 0304c22f7d
commit 1e953db649

View File

@ -106,6 +106,7 @@ public:
/// get current value (or default if not defined) /// get current value (or default if not defined)
inline const boost::any& value() const { return value_.empty() ? default_ : value_; } inline const boost::any& value() const { return value_.empty() ? default_ : value_; }
inline boost::any& value() { return value_.empty() ? default_ : value_; }
/// get default value /// get default value
const boost::any& defaultValue() const { return default_; } const boost::any& defaultValue() const { return default_; }