diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/intersection.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/intersection.h index 6eb7899d204..7d6cbe5b8df 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/intersection.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/intersection.h @@ -1409,6 +1409,7 @@ bool do_intersect(const TriangleMesh& tm, #ifndef DOXYGEN_RUNNING , const typename boost::disable_if< typename boost::mpl::or_< + typename boost::is_same::type, typename boost::mpl::not_::type>::type, // not a range typename boost::has_range_iterator< typename boost::mpl::eval_if<