Skip to content

Commit

Permalink
Halfedges does not need to store reference to MeshSurfaceIntersection…
Browse files Browse the repository at this point in the history
… (fixes clang/macos warning)
  • Loading branch information
BrunoLevy committed Dec 8, 2023
1 parent a092052 commit 426a6c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/geogram/mesh/mesh_surface_intersection.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_) {
}

/**
Expand Down Expand Up @@ -718,7 +718,6 @@ namespace GEO {
}

private:
MeshSurfaceIntersection& I_;
Mesh& mesh_;
Attribute<index_t> facet_corner_alpha3_;
} halfedges_;
Expand Down

0 comments on commit 426a6c3

Please sign in to comment.