-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.2.5, 6.3.1, 6.4.0 Beta3
But it might. When an item is freed, if there was previously another element inserted that would have otherwise ended up in that slot it will have moved to the next 'free' slot. So, when an element is erase()d we move the second element into its slot. This item may happen to be an item that has been visited earlier!
Example found here:
https://doc.qt.io/qt-6/qhash.html#erase
- relates to
-
QTBUG-101754 QHash::erase edge-case when erasing elements while traversing
-
- Reported
-
For Gerrit Dashboard: QTBUG-105720 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
609400,1 | QHash: remove the promise that erase doesn't reorder anything | dev | qt/qtbase | Status: NEW | -1 | 0 |