aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpcpp/impl/codegen/client_unary_call.h
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2018-08-09 13:20:35 -0700
committerGravatar Vijay Pai <vpai@google.com>2018-08-10 14:33:22 -0700
commite84096bbe5f0e471d90906e93cba9332c392aa60 (patch)
tree3f7116cf4c11da98bdcd0034ecacb15e531fd135 /include/grpcpp/impl/codegen/client_unary_call.h
parentcb87dd9fef97d1e1fb2559be68188c0792a3ecd8 (diff)
Experimental infrastructure for callback-based CQ
Diffstat (limited to 'include/grpcpp/impl/codegen/client_unary_call.h')
-rw-r--r--include/grpcpp/impl/codegen/client_unary_call.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpcpp/impl/codegen/client_unary_call.h b/include/grpcpp/impl/codegen/client_unary_call.h
index a37a81b75b..e4e8364e07 100644
--- a/include/grpcpp/impl/codegen/client_unary_call.h
+++ b/include/grpcpp/impl/codegen/client_unary_call.h
@@ -50,8 +50,8 @@ class BlockingUnaryCallImpl {
ClientContext* context, const InputMessage& request,
OutputMessage* result) {
CompletionQueue cq(grpc_completion_queue_attributes{
- GRPC_CQ_CURRENT_VERSION, GRPC_CQ_PLUCK,
- GRPC_CQ_DEFAULT_POLLING}); // Pluckable completion queue
+ GRPC_CQ_CURRENT_VERSION, GRPC_CQ_PLUCK, GRPC_CQ_DEFAULT_POLLING,
+ nullptr}); // Pluckable completion queue
Call call(channel->CreateCall(method, context, &cq));
CallOpSet<CallOpSendInitialMetadata, CallOpSendMessage,
CallOpRecvInitialMetadata, CallOpRecvMessage<OutputMessage>,