Skip to content

Commit

Permalink
[Fix] new clang -Wmissing-template-arg-list-after-template-kw warning (
Browse files Browse the repository at this point in the history
…grpc#36805)

Clang now requires a template argument list after the use of the template keyword. Edit this
instance to remove the template keyword since there are no template arguments.

See llvm/llvm-project#80801.

Closes grpc#36805

COPYBARA_INTEGRATE_REVIEW=grpc#36805 from amykhuang:master 6f385be
PiperOrigin-RevId: 640554705
  • Loading branch information
amykhuang authored and sourabhsinghs committed Sep 26, 2024
1 parent a786089 commit 2c211a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/lib/promise/detail/basic_seq.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ class BasicSeqIter {
}
cur_ = next;
state_.~State();
Construct(&state_,
Traits::template CallSeqFactory(f_, *cur_, std::move(arg)));
Construct(&state_, Traits::CallSeqFactory(f_, *cur_, std::move(arg)));
return PollNonEmpty();
});
}
Expand Down

0 comments on commit 2c211a7

Please sign in to comment.