mirror of
https://github.com/boostorg/graph.git
synced 2026-02-26 16:52:12 +00:00
@@ -75,7 +75,7 @@ main(int argc, char *argv[])
|
||||
|
||||
// Print the closeness centrality of each vertex.
|
||||
graph_traits<Graph>::vertex_iterator i, end;
|
||||
for(tie(i, end) = vertices(g); i != end; ++i) {
|
||||
for(boost::tie(i, end) = vertices(g); i != end; ++i) {
|
||||
cout << setw(12) << setiosflags(ios::left)
|
||||
<< g[*i].name << get(cm, *i) << endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user