Opened 12 years ago
Closed 12 years ago
#5181 closed Bugs (fixed)
iterator invalidation problem in boost subgraph remove_edge_if
Reported by: | Owned by: | Jeremiah Willcock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | graph |
Version: | Boost 1.45.0 | Severity: | Problem |
Keywords: | Cc: | christian.zebelein@… |
Description
remove_edge_if in subgraph.hpp goes on to note that remove_edge(*ep.first, g); will invalidate ep.first but then goes on using said iterator by using continue instead of break.
Attachments (1)
Change History (3)
by , 12 years ago
Attachment: | subgraph-remove_edge_if.patch added |
---|
comment:1 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
fix trivial iterator invalidation problem in remove_edge_if for subgraphs