From 1e953db649e482ffaf7c68c17333e212672fe694 Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Mon, 4 Mar 2019 16:07:29 +0100 Subject: [PATCH] non-const Property::value() --- core/include/moveit/task_constructor/properties.h | 1 + 1 file changed, 1 insertion(+) diff --git a/core/include/moveit/task_constructor/properties.h b/core/include/moveit/task_constructor/properties.h index 7d911054..e3faf38d 100644 --- a/core/include/moveit/task_constructor/properties.h +++ b/core/include/moveit/task_constructor/properties.h @@ -106,6 +106,7 @@ public: /// get current value (or default if not defined) inline const boost::any& value() const { return value_.empty() ? default_ : value_; } + inline boost::any& value() { return value_.empty() ? default_ : value_; } /// get default value const boost::any& defaultValue() const { return default_; }