mirror of
https://github.com/boostorg/graph.git
synced 2026-01-31 20:22:09 +00:00
Fix directed_graph::swap
This commit is contained in:
@@ -307,7 +307,7 @@ public:
|
||||
|
||||
void swap(directed_graph& g)
|
||||
{
|
||||
m_graph.swap(g);
|
||||
m_graph.swap(g.m_graph);
|
||||
std::swap(m_num_vertices, g.m_num_vertices);
|
||||
std::swap(m_max_vertex_index, g.m_max_vertex_index);
|
||||
std::swap(m_num_edges, g.m_num_edges);
|
||||
|
||||
Reference in New Issue
Block a user