diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-06-14 11:58:32 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-10-17 11:26:27 +0000 |
commit | 3845d1b83085ab89106c84d38deb2f4e3aaea77a (patch) | |
tree | 1b8cee15adb07ac036ddddd82cd1d2ce68f2f2af /mkspecs | |
parent | d40839db2fc7c6d993fa4be15b2045171f1e94dc (diff) |
QMetaObjectBuilder: replace index-based for loops with C++11 range-for
...for the recently-introduced std::vector objects
(QVector would detach).
Also, as a drive-by, reorder two comparisons so
the cheaper one is first, twice.
Saves 1700B of text size on GCC 4.9 optimized C++11
AMD64 Linux builds.
Change-Id: I05a29ef1f2e67c98d26236c2cc40a13856a91af6
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions