Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
6.7.1
-
None
Description
QHash::erase() is broken. This is known for >2 years and tracked in the following issues:
https://bugreports.qt.io/browse/QTBUG-101754
https://bugreports.qt.io/browse/QTBUG-105720
The issues state that there will be no fix for 6.x.x.
As a consequence, any documentation for 6.x.x should prominently state that QHash::erase() is broken and should not be used.
Attachments
Issue Links
- duplicates
-
QTBUG-105720 [Documentation] QHash is documented to not change order of items in the hash on erase()
- Reported
- relates to
-
QTBUG-101754 QHash::erase edge-case when erasing elements while traversing
- Reported