diff --git a/Constrained_triangulation_3/test/Constrained_triangulation_3/cdt_3_from_off.cpp b/Constrained_triangulation_3/test/Constrained_triangulation_3/cdt_3_from_off.cpp index 2b2b86d821d..ac650de2225 100644 --- a/Constrained_triangulation_3/test/Constrained_triangulation_3/cdt_3_from_off.cpp +++ b/Constrained_triangulation_3/test/Constrained_triangulation_3/cdt_3_from_off.cpp @@ -651,7 +651,9 @@ int merge_facets_region_growing(Mesh& mesh, } } if(!dump_surface_mesh_after_merge_filename.empty()) { - auto [corner_id_map, corner_id_map_ok] = mesh.add_property_map("v:corner_id", -1); + static constexpr auto max_size_t = std::numeric_limits::max(); + auto [corner_id_map, corner_id_map_ok] = + mesh.add_property_map("v:corner_id", max_size_t); assert(corner_id_map_ok); CGAL_USE(corner_id_map_ok); const auto nb_corners = CGAL::Polygon_mesh_processing::detect_corners_of_regions(