This commit is contained in:
Laurent Rineau 2025-05-14 10:38:12 +02:00
parent 2e471165f7
commit 8e398f0aa2
1 changed files with 1 additions and 1 deletions

View File

@ -828,7 +828,7 @@ public:
using face_descriptor = typename Surface_mesh::Face_index;
using PID = CGAL::cpp20::remove_cvref_t<decltype(get(polygon_patch_map, 0u))>;
constexpr auto invalid_patch_id = std::numeric_limits<PID>::max();
constexpr auto invalid_patch_id = (std::numeric_limits<PID>::max)();
Surface_mesh surface_mesh;
auto face_patch_pmap =
surface_mesh.template add_property_map<face_descriptor, PID>("fpm", invalid_patch_id).first;