diff --git a/include/boost/geometry/algorithms/clear.hpp b/include/boost/geometry/algorithms/clear.hpp index d7336587e..6fbd1c366 100644 --- a/include/boost/geometry/algorithms/clear.hpp +++ b/include/boost/geometry/algorithms/clear.hpp @@ -14,9 +14,9 @@ #ifndef BOOST_GEOMETRY_ALGORITHMS_CLEAR_HPP #define BOOST_GEOMETRY_ALGORITHMS_CLEAR_HPP -#include #include +#include #include #include #include @@ -84,14 +84,8 @@ template typename Geometry, typename Tag = typename tag_cast::type, multi_tag>::type > -struct clear -{ - BOOST_MPL_ASSERT_MSG - ( - false, NOT_OR_NOT_YET_IMPLEMENTED_FOR_THIS_GEOMETRY_TYPE - , (types) - ); -}; +struct clear: not_implemented +{}; // Point/box/segment do not have clear. So specialize to do nothing. template