$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r74602 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2011-09-28 15:04:31
Author: jewillco
Date: 2011-09-28 15:04:30 EDT (Wed, 28 Sep 2011)
New Revision: 74602
URL: http://svn.boost.org/trac/boost/changeset/74602
Log:
Applied patch from #5919; fixes #5919
Text files modified:
trunk/boost/graph/named_graph.hpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Modified: trunk/boost/graph/named_graph.hpp
==============================================================================
--- trunk/boost/graph/named_graph.hpp (original)
+++ trunk/boost/graph/named_graph.hpp 2011-09-28 15:04:30 EDT (Wed, 28 Sep 2011)
@@ -346,7 +346,9 @@
template<BGL_NAMED_GRAPH_PARAMS>
inline void BGL_NAMED_GRAPH::removing_vertex(Vertex vertex)
{
- named_vertices.erase(vertex);
+ typedef typename BGL_NAMED_GRAPH::vertex_name_type vertex_name_type;
+ const vertex_name_type& vertex_name = extract_name(derived()[vertex]);
+ named_vertices.erase(vertex_name);
}
template<BGL_NAMED_GRAPH_PARAMS>