From 381210f43df5b02942e4ab1bd6d72dba9ade4c51 Mon Sep 17 00:00:00 2001 From: v4hn Date: Fri, 1 Jun 2018 13:30:19 +0200 Subject: [PATCH] compatibility with boost 1.54 This is required for ROS indigo on ubuntu 14.04 --- core/src/properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/properties.cpp b/core/src/properties.cpp index 23249e50..75f6693e 100644 --- a/core/src/properties.cpp +++ b/core/src/properties.cpp @@ -72,7 +72,7 @@ void Property::setCurrentValue(const boost::any &value) void Property::reset() { - value_.clear(); + boost::any().swap(value_); } std::string Property::serialize() const {