2
0
mirror of https://github.com/boostorg/graph.git synced 2026-01-27 19:02:12 +00:00

removed the assertion about self edges

[SVN r15105]
This commit is contained in:
Jeremy Siek
2002-08-27 17:22:37 +00:00
parent 4e687216b7
commit 2b6b96b97d

View File

@@ -840,8 +840,6 @@ namespace boost {
typedef typename Config::graph_type graph_type;
graph_type& g = static_cast<graph_type&>(g_);
assert( u != v ); // don't allow self-loops
bool inserted;
typename Config::EdgeContainer::value_type e(u, v, p);
g.m_edges.push_back(e);