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 {