diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-01-26 14:38:54 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-04-28 05:09:36 +0000 |
commit | b393641888f18e3accf094c91808e2189c2138cc (patch) | |
tree | 54eefb7a5b8a0a022373487dfdb392e23634a333 /src/corelib | |
parent | e91abaa48eb3c6269a0f34301b58d2c194cb6141 (diff) |
xcb: eradicate Q_FOREACH loops [needing qAsConst()]
... by replacing them with C++11 range-for loops.
To avoid detaches of these mutable Qt containers,
wrap the container in qAsConst().
Saves more than 2KiB in text size on optimized GCC 6.0
Linux AMD64 builds.
Change-Id: I9610e711edc01d2a1ba19fef65d6b000ffc77255
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions