diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2023-12-12 09:58:57 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2023-12-14 04:16:16 +0100 |
| commit | 91d341e560e9a54d201279d53701ff071256ad6c (patch) | |
| tree | 3d21bf2bc3d719d2fcc84639a45130bd1f420850 /src/gui/doc/snippets | |
| parent | 6ef62f7dc4d6cb690fc297954b3cfcd1de415910 (diff) | |
Itemmodels: s/QPair/std::pair/
Also port from qMakePair() to just braced initialization and CTAD.
As a drive-by, use emplacement instead of appending pairs explicitly,
rewrite typedef into `using`, and remove the qpair.h include from the
.cpp file (cannot affect other TUs and <utility> is considered
included in qcompilerdetection.h).
Pick-to: 6.7
Task-number: QTBUG-115841
Change-Id: Ia985520dfce6b77b1c0fe7669fc92d2df97e1b06
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Diffstat (limited to 'src/gui/doc/snippets')
0 files changed, 0 insertions, 0 deletions
