diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-01-26 14:38:54 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-01-28 20:25:21 +0000 |
commit | d9229d849f44cf94e4ee19fac390811b474127d2 (patch) | |
tree | d81980dd8a542e45c675e85bf0a47ffb85823f09 /qmake/project.cpp | |
parent | e31541fa6f5f4df64fd44a9a895491c40b8c64b4 (diff) |
qmake: eradicate Q_FOREACH loops [already const]
(or trivially marked const) ... by replacing them
with C++11 range-for loops.
Change-Id: I1522e220a57ecb1c5ee0d4281233b3c3931a2ff8
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r-- | qmake/project.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp index 582b05a11f..01adb7422c 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -73,7 +73,7 @@ static ProStringList prepareBuiltinArgs(const QList<ProStringList> &args) { ProStringList ret; ret.reserve(args.size()); - foreach (const ProStringList &arg, args) + for (const ProStringList &arg : args) ret << arg.join(' '); return ret; } |