diff options
author | 2018-10-12 14:33:45 -0700 | |
---|---|---|
committer | 2018-10-16 14:10:30 -0700 | |
commit | 6fb7bd23bf05b89394ed5ae6e8f60332d0f02fc6 (patch) | |
tree | c752b11cc0128ec7a342def2133c4c32772f4001 /include/grpcpp/impl/codegen/client_callback.h | |
parent | 6f05a711e651196672450693493dee181368697d (diff) |
s/GPR_ASSERT/GPR_CODEGEN_ASSERT and few more bugs
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, |