Opened 11 years ago

Closed 11 years ago

#5919 closed Patches (fixed)

[Graph] named_graph small patch fixing removing_vertex called from remove_vertex

Reported by: Patrick Liesveld <pliesvel@…> Owned by: doug_gregor
Milestone: To Be Determined Component: graph
Version: Boost Development Trunk Severity: Problem
Keywords: named_graph removing_vertex Cc:

Description

named_graph<>::removing_vertex is called with a vertex descriptor parameter. The call to remove the vertex from the named_vertices.erase() expects a vertex_name_type as its parameter.

I include a patch that looks up the name, and calls erase() with proper arguments.

Attachments (1)

named_graph_removing_vertex.patch (537 bytes ) - added by Patrick Liesveld <pliesvel@…> 11 years ago.
small patch fixing remove_vertex functionality

Download all attachments as: .zip

Change History (2)

by Patrick Liesveld <pliesvel@…>, 11 years ago

small patch fixing remove_vertex functionality

comment:1 by Jeremiah Willcock, 11 years ago

Resolution: fixed
Status: newclosed

(In [74602]) Applied patch from #5919; fixes #5919

Note: See TracTickets for help on using tickets.