From f7fa2e2942983bbc4a748853ff74c5aec4a24e15 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Fri, 30 Jan 2004 14:29:52 +0000 Subject: [PATCH] changed to mutable iterator, to match return type of std::set::find, just in case the std implementation does not provide constant to mutable iterator conversions for std::set. [SVN r22081] --- include/boost/graph/detail/adjacency_list.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/graph/detail/adjacency_list.hpp b/include/boost/graph/detail/adjacency_list.hpp index b3f71d83..d7149549 100644 --- a/include/boost/graph/detail/adjacency_list.hpp +++ b/include/boost/graph/detail/adjacency_list.hpp @@ -1321,7 +1321,7 @@ namespace boost { boost::disallow_parallel_edge_tag) const { bool found; - typename Config::OutEdgeList::const_iterator + typename Config::OutEdgeList::iterator i = g.out_edge_list(u).find(StoredEdge(v)), end = g.out_edge_list(u).end(); found = (i != end);