(std::numeric_limits<std::size_t>::max)()

This commit is contained in:
Andreas Fabri 2025-11-13 07:26:05 +00:00 committed by Laurent Rineau
parent c751ee6bc9
commit 3e1a8c110d
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ int merge_facets_region_growing(Mesh& mesh,
} }
} }
if(!dump_surface_mesh_after_merge_filename.empty()) { if(!dump_surface_mesh_after_merge_filename.empty()) {
static constexpr auto max_size_t = std::numeric_limits<std::size_t>::max(); static constexpr auto max_size_t = (std::numeric_limits<std::size_t>::max)();
auto [corner_id_map, corner_id_map_ok] = auto [corner_id_map, corner_id_map_ok] =
mesh.add_property_map<vertex_descriptor, std::size_t>("v:corner_id", max_size_t); mesh.add_property_map<vertex_descriptor, std::size_t>("v:corner_id", max_size_t);
assert(corner_id_map_ok); assert(corner_id_map_ok);