diff options
author | Robin Burchell <robin.burchell@crimson.no> | 2017-01-16 21:36:27 +0100 |
---|---|---|
committer | Robin Burchell <robin.burchell@crimson.no> | 2017-01-17 21:39:58 +0000 |
commit | 7ed968be5564d8c19d918a3ce8e0683c162f4f1b (patch) | |
tree | 4f93e7ac2b51f00e2c2f6ae973cd59a0e97224e9 /src/qml/compiler/qv4ssa.cpp | |
parent | f88ac80a28467648f5e0c5c3d7dc978c4967af4c (diff) |
qml: Remove last foreach, and mark QT_NO_FOREACH
Just src/imports/ to go...
Change-Id: Ib4484676e24655cb950b3c4bb6495ff0e7f9700f
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4ssa.cpp')
-rw-r--r-- | src/qml/compiler/qv4ssa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4ssa.cpp b/src/qml/compiler/qv4ssa.cpp index 943700de44..1d512711b8 100644 --- a/src/qml/compiler/qv4ssa.cpp +++ b/src/qml/compiler/qv4ssa.cpp @@ -2758,7 +2758,7 @@ public: visit(s); } - foreach (const Conversion &conversion, _conversions) { + for (const Conversion &conversion : qAsConst(_conversions)) { IR::Move *move = conversion.stmt->asMove(); // Note: isel only supports move into member when source is a temp, so convert |