diff --git a/src/mbgl/style/expression/match.cpp b/src/mbgl/style/expression/match.cpp index 0f05001a9..93627e9df 100644 --- a/src/mbgl/style/expression/match.cpp +++ b/src/mbgl/style/expression/match.cpp @@ -11,7 +11,7 @@ namespace expression { template void Match::eachChild(const std::function& visit) const { visit(*input); - for (const std::pair>& branch : branches) { + for (const auto& branch : branches) { visit(*branch.second); } visit(*otherwise);