diff --git a/include/boost/graph/copy.hpp b/include/boost/graph/copy.hpp index 717f66f8..0d2e4452 100644 --- a/include/boost/graph/copy.hpp +++ b/include/boost/graph/copy.hpp @@ -90,15 +90,16 @@ namespace boost { std::vector::vertex_descriptor> vertex_map(num_vertices(g_in)); copy_graph(g_in, g_out, - make_vertex_copier(g_in, g_out), - make_edge_copier(g_in, g_out), + make_vertex_copier(g_in, g_out), + make_edge_copier(g_in, g_out), get(vertex_index, g_in), make_iterator_property_map(vertex_map.begin(), get(vertex_index, g_in))); } template - void copy_graph(Graph& g_in, MutableGraph& g_out, Old2NewVertexMap& vertex_map) + void copy_graph(Graph& g_in, MutableGraph& g_out, + Old2NewVertexMap& vertex_map) { copy_graph(g_in, g_out, default_copier(), default_copier(), get(vertex_index, g), vertex_map);