diff --git a/include/boost/geometry/algorithms/assign.hpp b/include/boost/geometry/algorithms/assign.hpp index 0d19f6ca9..f7b8679f1 100644 --- a/include/boost/geometry/algorithms/assign.hpp +++ b/include/boost/geometry/algorithms/assign.hpp @@ -136,6 +136,8 @@ struct assign Geometry1& geometry1, const Geometry2& geometry2) { + concept::check(); + concept::check(); concept::check_concepts_and_equal_dimensions(); bool const same_point_order = @@ -274,9 +276,6 @@ geometry, e.g. a RING. This only works if it is possible and applicable. template inline void assign(Geometry1& geometry1, Geometry2 const& geometry2) { - concept::check(); - concept::check(); - resolve_variant::assign::apply(geometry1, geometry2); }