summaryrefslogtreecommitdiffstats
path: root/src/xml/dom/qdom_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-11-26 09:55:00 +0100
committerMÃ¥rten Nordheim <marten.nordheim@qt.io>2019-12-12 15:25:22 +0100
commitc7e35ffe69a73bb144618714313673f0d0c28394 (patch)
treef1175ca6b305a82ea33ed4b5c22f2b065a9e67f8 /src/xml/dom/qdom_p.h
parent656d6f2a9b221dbd5adfc46262cb243e696d8d62 (diff)
Use a QMultiHash explicitly if insertMulti() is being used
This is a step towards deprecating QHash::insertMulti() and clearly separating QHash and QMultiHash. Change-Id: Ic2c7665673ff00d4f2186e94850710b70330f8ba Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/xml/dom/qdom_p.h')
-rw-r--r--src/xml/dom/qdom_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/dom/qdom_p.h b/src/xml/dom/qdom_p.h
index d197e999f1..b66c756af0 100644
--- a/src/xml/dom/qdom_p.h
+++ b/src/xml/dom/qdom_p.h
@@ -235,7 +235,7 @@ public:
// Variables
QAtomicInt ref;
- QHash<QString, QDomNodePrivate *> map;
+ QMultiHash<QString, QDomNodePrivate *> map;
QDomNodePrivate *parent;
bool readonly;
bool appendToParent;