diff --git a/include/boost/geometry/algorithms/detail/recalculate.hpp b/include/boost/geometry/algorithms/detail/recalculate.hpp index d1f199e5d..5432be5e9 100644 --- a/include/boost/geometry/algorithms/detail/recalculate.hpp +++ b/include/boost/geometry/algorithms/detail/recalculate.hpp @@ -72,7 +72,7 @@ struct recalculate_indexed static inline void apply(Geometry1& geometry1, Geometry2 const& geometry2, Strategy const& strategy) { // Do it for both indices in one dimension - std::size_t const dim = Dimension - 1; + static std::size_t const dim = Dimension - 1; geometry::set<0, dim>(geometry1, strategy.template apply(geometry::get<0, dim>(geometry2))); geometry::set<1, dim>(geometry1, strategy.template apply(geometry::get<1, dim>(geometry2))); recalculate_indexed::apply(geometry1, geometry2, strategy); @@ -169,14 +169,8 @@ template typename Tag1 = typename geometry::tag::type, typename Tag2 = typename geometry::tag::type > -struct recalculate -{ - BOOST_MPL_ASSERT_MSG - ( - false, NOT_OR_NOT_YET_IMPLEMENTED_FOR_THIS_GEOMETRY_TYPE - , (types) - ); -}; +struct recalculate : not_implemented +{}; template struct recalculate