mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
non-const Property::value()
This commit is contained in:
parent
0304c22f7d
commit
1e953db649
@ -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_; }
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user