Index: named_graph.hpp =================================================================== --- named_graph.hpp (revision 74484) +++ named_graph.hpp (working copy) @@ -346,7 +346,9 @@ template 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