Commit b965528d authored by Tiago Peixoto's avatar Tiago Peixoto

Implement missing ClearEdges()

parent dd98225a
...@@ -88,6 +88,8 @@ void GraphInterface::Clear() ...@@ -88,6 +88,8 @@ void GraphInterface::Clear()
void GraphInterface::ClearEdges() void GraphInterface::ClearEdges()
{ {
// graph_traits<multigraph_t>::vertex_iterator v, v_end;
for (tie(v, v_end) = vertices(_mg); v != v_end; ++v)
clear_vertex(*v, _mg);
} }
Markdown is supported
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