From 426a6c30525af733d09ed8261216afc422c41941 Mon Sep 17 00:00:00 2001 From: Bruno Date: Fri, 8 Dec 2023 22:06:04 +0100 Subject: [PATCH] Halfedges does not need to store reference to MeshSurfaceIntersection (fixes clang/macos warning) --- src/lib/geogram/mesh/mesh_surface_intersection.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/geogram/mesh/mesh_surface_intersection.h b/src/lib/geogram/mesh/mesh_surface_intersection.h index 374377231a20..d631d1930506 100644 --- a/src/lib/geogram/mesh/mesh_surface_intersection.h +++ b/src/lib/geogram/mesh/mesh_surface_intersection.h @@ -569,7 +569,7 @@ namespace GEO { * \brief Halfedges constructor * \param[in] I a reference to the MeshSurfaceIntersection */ - Halfedges(MeshSurfaceIntersection& I) : I_(I), mesh_(I.mesh_) { + Halfedges(MeshSurfaceIntersection& I) : mesh_(I.mesh_) { } /** @@ -718,7 +718,6 @@ namespace GEO { } private: - MeshSurfaceIntersection& I_; Mesh& mesh_; Attribute facet_corner_alpha3_; } halfedges_;