summaryrefslogtreecommitdiffstats
path: root/src/concurrent/qtconcurrentmap.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-04-03 12:25:46 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-04-08 21:58:41 +0200
commite349f787d595aa343ca86af94159b6730d55b8d5 (patch)
tree276c688e411ea5ece26f68450eb074afb8d6639d /src/concurrent/qtconcurrentmap.cpp
parent6dab2577bfa57e242e9568047c976f5e509c03f4 (diff)
QGraphicsView: consistently use ranged for and iterators
- replace random access with ranged for - replace foreach with ranged for - add qAsConst where possible - iterate directly over QMap, rather than the keys (address FIXME comment) - add some const to ensure that code has no side effects on containers or indices used in different places Change-Id: I6199fd6edd5e4426c6c7fee0ff64ec9421a64cd5 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/concurrent/qtconcurrentmap.cpp')
0 files changed, 0 insertions, 0 deletions