From 41e64ed7e18b4381290fc3d46c14cc50911ecaa9 Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Sat, 28 Apr 2018 22:27:22 +0200 Subject: [PATCH] remove std::map serialization --- core/include/moveit/task_constructor/properties.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/core/include/moveit/task_constructor/properties.h b/core/include/moveit/task_constructor/properties.h index 33c33375..cea3e61d 100644 --- a/core/include/moveit/task_constructor/properties.h +++ b/core/include/moveit/task_constructor/properties.h @@ -284,20 +284,5 @@ public: template <> void PropertyMap::set(const std::string& name, const boost::any& value); -// provide a serialization method for std::map -template -std::ostream& operator<<(std::ostream& os, const std::map& m) { - os << "{"; - bool first = true; - for (const auto& pair : m) { - if (!first) - os << ", "; - os << pair.first << " : " << pair.second; - first = false; - } - os << "}"; - return os; -} - } // namespace task_constructor } // namespace moveit