summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/src/qt6-changes.qdoc
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-06-14 15:43:27 +0200
committerKai Köhne <kai.koehne@qt.io>2021-06-17 14:28:46 +0200
commitc2c15666b76516e5edfbe2a51226740b5a0bb4d3 (patch)
tree5f3be9e398e195635b7dea6ef8cad3bbbe64e01c /src/corelib/doc/src/qt6-changes.qdoc
parentb26988d0b51ac26867258ced00c465324032b855 (diff)
Porting Guide: Mention that also QSet is affected by stability of references
QSet is internally implemented by a QHash. Therefore the change in reference stability affects QSet, too. Pick-to: 6.1 6.2 Change-Id: If1879d5a027211bca0beeff16ffbc77f2f4fce26 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/doc/src/qt6-changes.qdoc')
-rw-r--r--src/corelib/doc/src/qt6-changes.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/doc/src/qt6-changes.qdoc b/src/corelib/doc/src/qt6-changes.qdoc
index 8b8a330d03..11763a58cb 100644
--- a/src/corelib/doc/src/qt6-changes.qdoc
+++ b/src/corelib/doc/src/qt6-changes.qdoc
@@ -70,12 +70,12 @@
\section3 Stability of References
- The implementation of QHash and QMultiHash in Qt 6 got changed from
+ The implementation of QHash, QMultiHash and QSet in Qt 6 got changed from
a node based approach to a two stage lookup table. This design allows
to keep the memory overhead of a hash instance very small, while
at the same time giving good performance.
- One behavioral change to note is that the new QHash implementation
+ One behavioral change to note is that the new implementation
will not provide stable references to elements in the hash when the
table needs to grow, or when entries are removed. Applications that
rely on such stability might now run into undefined behavior.