diff --git a/Intersections_3/include/CGAL/Intersections_3/internal/Plane_3_Plane_3_Plane_3_intersection.h b/Intersections_3/include/CGAL/Intersections_3/internal/Plane_3_Plane_3_Plane_3_intersection.h index 2f4b6e75906..6858672f19f 100644 --- a/Intersections_3/include/CGAL/Intersections_3/internal/Plane_3_Plane_3_Plane_3_intersection.h +++ b/Intersections_3/include/CGAL/Intersections_3/internal/Plane_3_Plane_3_Plane_3_intersection.h @@ -88,7 +88,7 @@ intersection(const typename K::Plane_3& plane1, typedef typename K::Plane_3 Plane_3; auto res = intersection_point(plane1,plane2,plane3, k); - if (res != boost::none) + if (res) return result_type(*res); // Intersection between plane1 and plane2 can either be