diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-07-19 14:46:50 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-07-19 14:50:31 -0400 |
commit | d0e479962694ae7944d9d3cfa0bedda76c473e07 (patch) | |
tree | e8cfbf2d7352a3fc684eb840068ad8fce512ae28 /chart2 | |
parent | b2b61b8c4892a8a02ae37cd48db8fad8fa02eb32 (diff) |
fdo#39236: Prevent double-deletes during removal of pivot tables.
In short, don't use erase remove(_if) idiom to remove objects from
boost ptr containers which would cause double deletes because of
the way remove-like algorithms work. STL's remove-like algorithms
create duplicates of the elements instead of re-ordering them by
design, and this obviously doesn't work well with containers
containing pointers.
Diffstat (limited to 'chart2')
0 files changed, 0 insertions, 0 deletions