diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-07-19 14:46:50 -0400 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-07-20 06:50:16 +0200 |
commit | c82f49c06b32f0da90e53df50bb24789fffe3c9a (patch) | |
tree | e455ee5906e9e3a531a1706d11a92de69de3f9f1 /chart2/uiconfig | |
parent | d688aee70f87acbfe273b814d21b5dba343fc9d9 (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.
Signed-off-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'chart2/uiconfig')
0 files changed, 0 insertions, 0 deletions