summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qmap
diff options
context:
space:
mode:
authorThorbjørn Martsum <tmartsum@gmail.com>2013-07-12 19:17:33 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-24 15:36:30 +0200
commit93ffb81df6e2cdc57ac8f70c6578f132024d7117 (patch)
tree979931da143ccbfaf567ca6a69c6430db2341f8a /tests/auto/corelib/tools/qmap
parentdacf9961da86751a59da0e84bc943fe0d1c8d95b (diff)
QHash/QSet - fix QHash::erase when the hash 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) Since QSet uses QHash it improves QSet the same way. Change-Id: I850b1efcf7bdfc85ceddb23128b048af95f75063 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/tools/qmap')
0 files changed, 0 insertions, 0 deletions