summaryrefslogtreecommitdiff
path: root/src/mbgl/style/expression/let.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-04-03 12:27:14 +0200
committerKonstantin Käfer <mail@kkaefer.com>2019-04-05 11:49:17 +0200
commit3ceabcd3ec91dbd9458d3c5b78fb12c3182636e1 (patch)
treeb8be2ac790afce844178a314b42683ab9d06f744 /src/mbgl/style/expression/let.cpp
parentd7aaf83421261087a99d18d92eca9637c1bf72f8 (diff)
downloadqtlocation-mapboxgl-3ceabcd3ec91dbd9458d3c5b78fb12c3182636e1.tar.gz
[core] clang-tidy fixes
Diffstat (limited to 'src/mbgl/style/expression/let.cpp')
-rw-r--r--src/mbgl/style/expression/let.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/style/expression/let.cpp b/src/mbgl/style/expression/let.cpp
index 592ceed58a..5acd52f578 100644
--- a/src/mbgl/style/expression/let.cpp
+++ b/src/mbgl/style/expression/let.cpp
@@ -12,8 +12,8 @@ EvaluationResult Let::evaluate(const EvaluationContext& params) const {
}
void Let::eachChild(const std::function<void(const Expression&)>& visit) const {
- for (auto it = bindings.begin(); it != bindings.end(); it++) {
- visit(*it->second);
+ for (const auto& binding : bindings) {
+ visit(*binding.second);
}
visit(*result);
}