summaryrefslogtreecommitdiffstats
path: root/src/concurrent/doc/snippets
diff options
context:
space:
mode:
authorMarc Mutz <[email protected]>2021-08-11 17:20:23 +0200
committerMarc Mutz <[email protected]>2021-08-18 20:31:17 +0000
commit93745ef34608024db92c90c8e270e441fc346eda (patch)
treef124c2941c1d65f52aae6f8b9e56d91ac4a3ccd1 /src/concurrent/doc/snippets
parentd3ece0fcc2b1fd60690bf7b6d04ad90c4eb48c0e (diff)
QMetaEnum: stop playing ping-pong with *ok
By dropping the clause pointlessly guarding the ranged for loop against an empty collection, we can reduce the ping-pong being played with the *ok boolean: Just set it to false at the beginning, and only set it to true when we reach the success-return. Pick-to: 6.2 Change-Id: I87365146086aba427b7414e83f077096824ff56f Reviewed-by: MÃ¥rten Nordheim <[email protected]> Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/concurrent/doc/snippets')
0 files changed, 0 insertions, 0 deletions