summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qlist
diff options
context:
space:
mode:
authorThorbjørn Martsum <tmartsum@gmail.com>2013-06-16 21:43:44 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-24 15:36:30 +0200
commita5c7a9032e9919bd495c1607bb2e6a668170442f (patch)
tree0c94834ed53877aecd5a173d018bc4165d75dde9 /tests/auto/corelib/tools/qlist
parent93ffb81df6e2cdc57ac8f70c6578f132024d7117 (diff)
QMap - fix erase with iterator when the map is shared
Before a call to erase on a shared instance would imply that the item was removed from the shared data (i.e all instances) This patch improves the behavior to detach and erase the item specified by the iterator (i.e same behavior as QVector) Change-Id: Ia44db84fc1388d92308bf0d2b32539ac4d53850b Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/tools/qlist')
0 files changed, 0 insertions, 0 deletions