diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-01-25 21:10:32 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-01-27 04:25:17 +0100 |
commit | 88fd9a281a1be2563124fa67f43950edf08eb5f0 (patch) | |
tree | 29cbcbf98744a665077780b1c5f1d8234017d67b /tests/manual/qscreen_xrandr/CMakeLists.txt | |
parent | 878aea36457a1c270586774e68e56acaef14950a (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/manual/qscreen_xrandr/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions