|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84869 - trunk/boost/graph/detail
From: jewillco_at_[hidden]
Date: 2013-06-21 16:06:46
Author: jewillco
Date: 2013-06-21 16:06:45 EDT (Fri, 21 Jun 2013)
New Revision: 84869
URL: http://svn.boost.org/trac/boost/changeset/84869
Log:
Removed assertion to enable removal of non-existent edges, as suggested by comment to #4622; refs #4622
Text files modified:
trunk/boost/graph/detail/adjacency_list.hpp | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
Modified: trunk/boost/graph/detail/adjacency_list.hpp
==============================================================================
--- trunk/boost/graph/detail/adjacency_list.hpp Fri Jun 21 15:30:38 2013 (r84868)
+++ trunk/boost/graph/detail/adjacency_list.hpp 2013-06-21 16:06:45 EDT (Fri, 21 Jun 2013) (r84869)
@@ -806,7 +806,6 @@
typedef typename EdgeList::value_type StoredEdge;
typename EdgeList::iterator i = el.find(StoredEdge(v)), end = el.end();
- BOOST_ASSERT ((i != end));
if (i != end) {
g.m_edges.erase((*i).get_iter());
el.erase(i);
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk