Details
-
Bug
-
Resolution: Fixed
-
P4: Low
-
6.9.1
-
None
-
d796624c5 (dev), 27be432d5 (6.10), 46f61f8d2 (6.9)
Description
There's a copy/paste error in the documentation for QMultiMap:
This inserts the following three (key, value) pairs into the QMultiMap: ("a", 1), ("b", 3), ("c", 7), and ("c", -5); note that duplicate keys are allowed.
This appears to have been copy/pasted from QMap, with the addition of one pair having a duplicate key, but the word "three" wasn't changed to "four".
Also, it would be more helpful to the reader to reverse the order of the duplicate-key pairs in that sentence, because in this caseĀ QMultiMapIterator would produce ("c", -5) (the more recently inserted pair) before producing ("c", 7).
Attachments
For Gerrit Dashboard: QTBUG-138043 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
656619,1 | QMultiMap/Doc: fix count: three -> four | tqtc/lts-6.8 | qt/tqtc-qtbase | Status: NEW | +2 | 0 |