mirror of https://github.com/CGAL/cgal
Surface_mesh_shortest_path: Make data member a copy as otherwise potentially dangling reference
This commit is contained in:
parent
643b846c8e
commit
a35555b58f
|
|
@ -331,7 +331,7 @@ private:
|
|||
};
|
||||
|
||||
private:
|
||||
const Traits& m_traits;
|
||||
const Traits m_traits;
|
||||
const Triangle_mesh& m_graph;
|
||||
|
||||
Vertex_index_map m_vertexIndexMap;
|
||||
|
|
|
|||
Loading…
Reference in New Issue