Skip to content

Commit

Permalink
fixed significant warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stla committed Dec 19, 2023
1 parent 38e736f commit 994ca14
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/MODULE.h
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,9 @@ class CGALmesh {
const bool success = std::get<0>(
PMP::triangulate_refine_and_fair_hole(
mesh, h,
std::back_inserter(patch_faces), std::back_inserter(patch_vertices)
CGAL::parameters::face_output_iterator(
std::back_inserter(patch_faces)
).vertex_output_iterator(std::back_inserter(patch_vertices))
)
);
if(!success) {
Expand All @@ -1071,7 +1073,9 @@ class CGALmesh {
} else {
PMP::triangulate_and_refine_hole(
mesh, h,
std::back_inserter(patch_faces), std::back_inserter(patch_vertices)
CGAL::parameters::face_output_iterator(
std::back_inserter(patch_faces)
).vertex_output_iterator(std::back_inserter(patch_vertices))
);
}
Face_index_map fimap = mesh.add_property_map<face_descriptor, std::size_t>(
Expand Down

0 comments on commit 994ca14

Please sign in to comment.