Surface_mesh_shortest_path: Make data member a copy as otherwise potentially dangling reference

This commit is contained in:
Andreas Fabri 2022-02-22 15:19:17 +00:00
parent 643b846c8e
commit a35555b58f
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ private:
};
private:
const Traits& m_traits;
const Traits m_traits;
const Triangle_mesh& m_graph;
Vertex_index_map m_vertexIndexMap;