Adapt QMutableHashIterator to change in QMultiHash
QMultiHash doesn't inherit from QHash since Qt 6.0 so we can't use QMutableHashIterator anymore with QMultiHash. Pick-to: 6.5 Change-Id: I9e755899e0a1e331f452a618b6d8a127715c54d4 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 1c592199afa77247df84d66fc92a8455dd6ce988) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 76d47dce1b61afca376578557aab18062f3c841e)
This commit is contained in:
parent
83d87c956c
commit
9995e90519
@ -973,9 +973,8 @@
|
||||
be preferred.
|
||||
|
||||
QMutableHashIterator\<Key, T\> allows you to iterate over a QHash
|
||||
(or a QMultiHash) and modify the hash. If you don't want to modify
|
||||
the hash (or have a const QHash), use the slightly faster
|
||||
QHashIterator instead.
|
||||
and modify the hash. If you don't want to modify the hash (or have
|
||||
a const QHash), use the slightly faster QHashIterator instead.
|
||||
|
||||
The QMutableHashIterator constructor takes a QHash as argument.
|
||||
After construction, the iterator is located at the very beginning
|
||||
|
Loading…
x
Reference in New Issue
Block a user