diff --git a/include/boost/geometry/algorithms/assign.hpp b/include/boost/geometry/algorithms/assign.hpp index 499c9e0f0..1a1e9c946 100644 --- a/include/boost/geometry/algorithms/assign.hpp +++ b/include/boost/geometry/algorithms/assign.hpp @@ -232,17 +232,19 @@ struct assign concept::check(); concept::check_concepts_and_equal_dimensions(); - // same point_order + static bool const same_point_order + = point_order::value == point_order::value; BOOST_MPL_ASSERT_MSG ( - (point_order::value == point_order::value), + (same_point_order), ASSIGN_IS_NOT_SUPPORTED_FOR_DIFFERENT_POINT_ORDER, (types) ); - // same closure + static bool const same_closure + = closure::value == closure::value; BOOST_MPL_ASSERT_MSG ( - (closure::value == closure::value), + (same_closure), ASSIGN_IS_NOT_SUPPORTED_FOR_DIFFERENT_CLOSURE, (types) );