diff options
author | Carl Schwan <carl@carlschwan.eu> | 2023-12-11 16:13:22 +0100 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2023-12-13 04:47:41 +0100 |
commit | 1c592199afa77247df84d66fc92a8455dd6ce988 (patch) | |
tree | fdc53e5885248dda7788b3e1bc24223d09c2d023 /src/corelib/tools | |
parent | 734354c0bae543795222a47cca2a013352d49745 (diff) |
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.6 6.5 6.7
Change-Id: I9e755899e0a1e331f452a618b6d8a127715c54d4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools')
-rw-r--r-- | src/corelib/tools/qiterator.qdoc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/corelib/tools/qiterator.qdoc b/src/corelib/tools/qiterator.qdoc index f84d1cb3ba..041fb0701d 100644 --- a/src/corelib/tools/qiterator.qdoc +++ b/src/corelib/tools/qiterator.qdoc @@ -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 |