summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global/qnumeric/tst_qnumeric.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-01-25 21:10:32 +0100
committerMarc Mutz <marc.mutz@qt.io>2022-01-27 04:25:17 +0100
commit88fd9a281a1be2563124fa67f43950edf08eb5f0 (patch)
tree29cbcbf98744a665077780b1c5f1d8234017d67b /tests/auto/corelib/global/qnumeric/tst_qnumeric.cpp
parent878aea36457a1c270586774e68e56acaef14950a (diff)
QFlatMap: avoid post-(in|de)crement on iterators
Generic code needs to avoid post-increment and -decrement, because they're less efficient than pre-increment and -decrement when implemented in class types as opposed to scalars (extra copy necessary). Use the common pattern of implementing post- using pre-increment. Pick-to: 6.3 Change-Id: Ida38df04c6c6f877453e5b3a1983457cc7f63f11 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/auto/corelib/global/qnumeric/tst_qnumeric.cpp')
0 files changed, 0 insertions, 0 deletions