2
0
mirror of https://github.com/boostorg/graph.git synced 2026-01-31 08:12:14 +00:00

couldn't infer unused template argument

This commit is contained in:
Anthony Eden
2018-12-11 15:10:09 -05:00
parent f7dfafb5af
commit f2bd3d1be7

View File

@@ -395,7 +395,7 @@ namespace boost {
CopyVertex cv, CopyEdge ce)
: g_out(graph), orig2copy(c), copy_vertex(cv), copy_edge(ce) { }
template <class Vertex, class Graph>
template <class Vertex>
typename graph_traits<NewGraph>::vertex_descriptor copy_one_vertex(Vertex u) const {
typename graph_traits<NewGraph>::vertex_descriptor
new_u = add_vertex(g_out);