Opened 8 years ago
Last modified 8 years ago
#10707 new Bugs
Subgraph copy constructor doesn't copy all the data for children subgraphs
| Reported by: | Owned by: | Jeremiah Willcock | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | graph |
| Version: | Boost Development Trunk | Severity: | Problem |
| Keywords: | subgraph | Cc: |
Description
Subgraph copy constructor doesn't copy all the data required for normal working in case of the subgraph object actually represents children subgraph. As a result, copied object is not equal to original one and usually can't be used any more.
Here's the data fields that aren't copied:
- m_graph (is copied only in case the subgraph object represents root subgraph).
- m_local_vertex and m_local_edge containers (ok for root subgraph, data loss for children subgraphs).
The patch with fix is attached.
Attachments (1)
Change History (2)
by , 8 years ago
| Attachment: | fix_copy_ctr.patch added |
|---|
comment:1 by , 8 years ago
| Keywords: | subgraph added |
|---|
Note:
See TracTickets
for help on using tickets.
