diff --git a/BGL/examples/BGL_triangulation_2/emst.cpp b/BGL/examples/BGL_triangulation_2/emst.cpp index 62a977827da..7b3082b9593 100644 --- a/BGL/examples/BGL_triangulation_2/emst.cpp +++ b/BGL/examples/BGL_triangulation_2/emst.cpp @@ -75,7 +75,7 @@ main(int,char*[]) // In the function call you can see a named parameter: vertex_index_map std::list mst; - boost::kruskal_minimum_spanning_tree(t, + boost::kruskal_minimum_spanning_tree(ft, std::back_inserter(mst), vertex_index_map(vertex_index_pmap));