diff --git a/src/tint/ast/traverse_expressions.h b/src/tint/ast/traverse_expressions.h index f4e4716647..bcf0bfde1c 100644 --- a/src/tint/ast/traverse_expressions.h +++ b/src/tint/ast/traverse_expressions.h @@ -68,7 +68,7 @@ bool TraverseExpressions(const ast::Expression* root, diag::List& diags, CALLBAC size_t depth; }; - utils::Vector to_visit{{root, 0}}; + utils::Vector to_visit{{root, 0}}; auto push_single = [&](const ast::Expression* expr, size_t depth) { to_visit.Push({expr, depth}); diff --git a/src/tint/resolver/resolver.cc b/src/tint/resolver/resolver.cc index 4295babbd7..ab25bfbe1f 100644 --- a/src/tint/resolver/resolver.cc +++ b/src/tint/resolver/resolver.cc @@ -1276,7 +1276,7 @@ sem::WhileStatement* Resolver::WhileStatement(const ast::WhileStatement* stmt) { } sem::Expression* Resolver::Expression(const ast::Expression* root) { - utils::Vector sorted; + utils::Vector sorted; constexpr size_t kMaxExpressionDepth = 512U; bool failed = false; if (!ast::TraverseExpressions(