diff --git a/Optimal_bounding_box/include/CGAL/Optimal_bounding_box/oriented_bounding_box.h b/Optimal_bounding_box/include/CGAL/Optimal_bounding_box/oriented_bounding_box.h index 649dd8e3020..037df452478 100644 --- a/Optimal_bounding_box/include/CGAL/Optimal_bounding_box/oriented_bounding_box.h +++ b/Optimal_bounding_box/include/CGAL/Optimal_bounding_box/oriented_bounding_box.h @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -333,14 +334,14 @@ void oriented_bounding_box(const PointRange& points, typedef typename CGAL::Kernel_traits::type K; typedef Oriented_bounding_box_traits_3 Default_traits; #else - typedef void Default_traits; + typedef CGAL::Default Default_traits; #endif typedef typename internal_np::Lookup_named_param_def::type Geom_traits; - CGAL_static_assertion_msg(!(std::is_same::value), + CGAL_static_assertion_msg(!(std::is_same::value), "You must provide a traits class or have Eigen enabled!"); Geom_traits traits = choose_parameter(get_parameter(np, internal_np::geom_traits));