summaryrefslogtreecommitdiffstats
path: root/src/s60main
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2021-12-06 19:21:54 +0100
committerMårten Nordheim <marten.nordheim@qt.io>2021-12-07 03:07:49 +0100
commit78df625510b73d7b7709be16f9a168ba8c3f4d19 (patch)
tree27402fb8c763d625b0b699406a9363a83416e691 /src/s60main
parentb781915c393e0abc456eedf90adf5b630693eab6 (diff)
QMultiHash: fix erase returning the wrong iterator
When deleting the last item in a chain, without it being the last item in the chain, then we re-use the iterator which was passed in as an argument. This is wrong if we detached earlier in the function, and means we return an iterator to the previously shared data. Pick-to: 6.2 Change-Id: I7da6309e23a32073da59e7da0cbfd1d16734f1ca Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/s60main')
0 files changed, 0 insertions, 0 deletions