Skip to content

Commit 5bb6503

Browse files
committed
Fix compilation for gcc
1 parent 920d9fb commit 5bb6503

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Libs/Groom/Groom.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,8 +804,10 @@ bool Groom::run_shared_boundaries() {
804804
Mesh output_contour(empty_mesh);
805805
try {
806806
// returns left remainder, right remainder, and shared_surface
807-
std::tie(extracted_l, extracted_r, extracted_s) =
808-
MeshUtils::shared_boundary_extractor(first_mesh, second_mesh, shared_boundary.tolerance);
807+
auto result = MeshUtils::shared_boundary_extractor(first_mesh, second_mesh, shared_boundary.tolerance);
808+
extracted_l = result[0];
809+
extracted_r = result[1];
810+
extracted_s = result[2];
809811

810812
extracted_l.remeshPercent(.99, 1.0);
811813
extracted_r.remeshPercent(.99, 1.0);

0 commit comments

Comments
 (0)