diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/self_intersections.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/self_intersections.h index 5a00000fbc1..55563d8b1da 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/self_intersections.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/self_intersections.h @@ -34,6 +34,7 @@ #include #include #include +#include #ifdef CGAL_LINKED_WITH_TBB #include @@ -224,6 +225,7 @@ self_intersections_impl(const FaceRange& face_range, get_const_property_map(boost::vertex_point, tmesh)); const unsigned int seed = choose_parameter(get_parameter(np, internal_np::random_seed), 0); + CGAL_USE(seed); // used in the random shuffle of the range, which is only done to balance tasks in parallel const std::ptrdiff_t cutoff = 2000;