diff --git a/Surface_mesh_segmentation/include/CGAL/internal/Surface_mesh_segmentation/AABB_traits.h b/Surface_mesh_segmentation/include/CGAL/internal/Surface_mesh_segmentation/AABB_traits.h index 55391395deb..48b46cc1760 100644 --- a/Surface_mesh_segmentation/include/CGAL/internal/Surface_mesh_segmentation/AABB_traits.h +++ b/Surface_mesh_segmentation/include/CGAL/internal/Surface_mesh_segmentation/AABB_traits.h @@ -45,10 +45,8 @@ public: // activate functions below if K::FT is floating point and fast_bbox_intersection = true template - typename boost::enable_if< - boost::type_traits::ice_and< - boost::is_floating_point::value, - fast_bbox_intersection>, + typename boost::enable_if_c< + boost::is_floating_point::value && fast_bbox_intersection, bool >::type operator()(const CGAL::Segment_3& segment, const Bounding_box& bbox) const { const Point_3& p = segment.source(); @@ -65,10 +63,8 @@ public: } template - typename boost::enable_if< - boost::type_traits::ice_and< - boost::is_floating_point::value, - fast_bbox_intersection>, + typename boost::enable_if_c< + boost::is_floating_point::value && fast_bbox_intersection, bool >::type operator()(const CGAL::Ray_3& ray, const Bounding_box& bbox) const { const Point_3& p = ray.source();