Fix clang-tidy error.

pull/19671/head
Mark D. Roth 5 years ago
parent 71da8258c3
commit ad38c6eddf
  1. 5
      src/core/ext/filters/client_channel/subchannel.cc

@ -140,8 +140,9 @@ RefCountedPtr<SubchannelCall> SubchannelCall::Create(Args args,
const size_t allocation_size = const size_t allocation_size =
args.connected_subchannel->GetInitialCallSizeEstimate( args.connected_subchannel->GetInitialCallSizeEstimate(
args.parent_data_size); args.parent_data_size);
return RefCountedPtr<SubchannelCall>(new (args.arena->Alloc( Arena* arena = args.arena;
allocation_size)) SubchannelCall(std::move(args), error)); return RefCountedPtr<SubchannelCall>(new (
arena->Alloc(allocation_size)) SubchannelCall(std::move(args), error));
} }
SubchannelCall::SubchannelCall(Args args, grpc_error** error) SubchannelCall::SubchannelCall(Args args, grpc_error** error)

Loading…
Cancel
Save