diff options
Diffstat (limited to 'include/grpcpp/impl/codegen/client_callback.h')
-rw-r--r-- | include/grpcpp/impl/codegen/client_callback.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpcpp/impl/codegen/client_callback.h b/include/grpcpp/impl/codegen/client_callback.h index ae9a8a95f9..4d4faea063 100644 --- a/include/grpcpp/impl/codegen/client_callback.h +++ b/include/grpcpp/impl/codegen/client_callback.h @@ -57,7 +57,7 @@ class CallbackUnaryCallImpl { std::function<void(Status)> on_completion) { CompletionQueue* cq = channel->CallbackCQ(); GPR_CODEGEN_ASSERT(cq != nullptr); - Call call = channel->CreateCall(method, context, cq); + Call call(channel->CreateCall(method, context, cq)); using FullCallOpSet = CallOpSet<CallOpSendInitialMetadata, CallOpSendMessage, |