Deal with some namespacing issues (#27651)

This commit is contained in:
Craig Tiller 2021-10-08 11:38:42 -07:00 committed by GitHub
parent b3a1f68606
commit ee47e08f71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -535,8 +535,8 @@ Call::~Call() {
}
}
grpc_channel_args* ReadArgs(
const google::protobuf::RepeatedPtrField<api_fuzzer::ChannelArg>& args) {
template <typename ChannelArgContainer>
grpc_channel_args* ReadArgs(const ChannelArgContainer& args) {
grpc_channel_args* res =
static_cast<grpc_channel_args*>(gpr_malloc(sizeof(grpc_channel_args)));
res->num_args = args.size();