diff --git a/Intersections_2/include/CGAL/Intersection_traits.h b/Intersections_2/include/CGAL/Intersection_traits.h index cafd0428ef8..137bb500035 100644 --- a/Intersections_2/include/CGAL/Intersection_traits.h +++ b/Intersections_2/include/CGAL/Intersection_traits.h @@ -47,8 +47,8 @@ template \ inline \ decltype(auto) \ - intersection(const B& a, const A& b) { \ - return BOOST_PP_CAT(K().intersect_, BOOST_PP_CAT(DIM, _object()(a, b))); \ + intersection(const B& b, const A& a) { \ + return BOOST_PP_CAT(K().intersect_, BOOST_PP_CAT(DIM, _object()(b, a))); \ } #define CGAL_INTERSECTION_FUNCTION_SELF(A, DIM) \ @@ -67,8 +67,8 @@ } \ template \ inline bool \ - do_intersect(const B& a, const A& b) { \ - return BOOST_PP_CAT(K().do_intersect_, BOOST_PP_CAT(DIM, _object()(a, b))); \ + do_intersect(const B& b, const A& a) { \ + return BOOST_PP_CAT(K().do_intersect_, BOOST_PP_CAT(DIM, _object()(b, a))); \ } #define CGAL_DO_INTERSECT_FUNCTION_SELF(A, DIM) \