Remove internal use of deprecated ClientAsyncResponseReaderFactory

pull/24639/head
Vijay Pai 5 years ago
parent 04045e2273
commit 3a68f3dc6e
  1. 4
      include/grpcpp/generic/generic_stub.h

@ -64,11 +64,11 @@ class TemplatedGenericStub final {
ClientContext* context, const std::string& method, ClientContext* context, const std::string& method,
const RequestType& request, ::grpc::CompletionQueue* cq) { const RequestType& request, ::grpc::CompletionQueue* cq) {
return std::unique_ptr<ClientAsyncResponseReader<ResponseType>>( return std::unique_ptr<ClientAsyncResponseReader<ResponseType>>(
internal::ClientAsyncResponseReaderFactory<ResponseType>::Create( internal::ClientAsyncResponseReaderHelper::Create<ResponseType>(
channel_.get(), cq, channel_.get(), cq,
grpc::internal::RpcMethod(method.c_str(), grpc::internal::RpcMethod(method.c_str(),
grpc::internal::RpcMethod::NORMAL_RPC), grpc::internal::RpcMethod::NORMAL_RPC),
context, request, false)); context, request));
} }
/// DEPRECATED for multi-threaded use /// DEPRECATED for multi-threaded use

Loading…
Cancel
Save