From c538ff16c21354a12c4f4c545fe9a245b916e56b Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Thu, 30 May 2024 15:24:19 +0200 Subject: [PATCH] Mesh_3: add a scope after if(...) --- Mesh_3/include/CGAL/Mesh_3/Refine_facets_3.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Mesh_3/include/CGAL/Mesh_3/Refine_facets_3.h b/Mesh_3/include/CGAL/Mesh_3/Refine_facets_3.h index 6c1a4325184..cdf07014551 100644 --- a/Mesh_3/include/CGAL/Mesh_3/Refine_facets_3.h +++ b/Mesh_3/include/CGAL/Mesh_3/Refine_facets_3.h @@ -1677,9 +1677,11 @@ compute_facet_properties(const Facet& facet, r_oracle_.surface_patch_index(std::get<1>(intersect))); if(surface) #endif // CGAL_MESH_3_NO_LONGER_CALLS_DO_INTERSECT_3 - fp = Facet_properties(std::make_tuple(*surface, - std::get<1>(intersect), - std::get<0>(intersect))); + { + fp = Facet_properties(std::make_tuple(*surface, + std::get<1>(intersect), + std::get<0>(intersect))); + } } } // If the dual is a ray