Commit b6694f7f authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

fixed buglet in graph/graphml.hpp


git-svn-id: https://svn.forked.de/graph-tool/trunk@51 d4600afd-f417-0410-95de-beed9576f240
parent 19068a5f
...@@ -118,7 +118,7 @@ class mutate_graph_impl : public mutate_graph ...@@ -118,7 +118,7 @@ class mutate_graph_impl : public mutate_graph
{ {
std::pair<edge_descriptor,bool> retval = add_edge(any_cast<vertex_descriptor>(source), std::pair<edge_descriptor,bool> retval = add_edge(any_cast<vertex_descriptor>(source),
any_cast<vertex_descriptor>(target), m_g); any_cast<vertex_descriptor>(target), m_g);
return make_pair(any(retval.first), retval.second); return std::make_pair(any(retval.first), retval.second);
} }
virtual void virtual void
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment