Modify

Ticket #5919 (closed Patches: fixed)

Opened 3 years ago

Last modified 3 years ago

[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

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

Change History

Changed 3 years ago by Patrick Liesveld <pliesvel@…>

small patch fixing remove_vertex functionality

comment:1 Changed 3 years ago by jewillco

  • Status changed from new to closed
  • Resolution set to fixed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.