aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/impl/client_unary_call.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-06-04 12:53:40 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-06-04 12:53:40 -0700
commit50a7a68ca2a5ade22a97502389ec1e0d4dcb0a10 (patch)
tree072e2c0feee2c064e35c8f1d9f65dd2200ca1cfe /include/grpc++/impl/client_unary_call.h
parenta6ab47c75b80f85327f2e37c7c6865f1812059ba (diff)
Progress commit on fixing up C++
Diffstat (limited to 'include/grpc++/impl/client_unary_call.h')
-rw-r--r--include/grpc++/impl/client_unary_call.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/grpc++/impl/client_unary_call.h b/include/grpc++/impl/client_unary_call.h
index 561c4721ef..8c42fb4792 100644
--- a/include/grpc++/impl/client_unary_call.h
+++ b/include/grpc++/impl/client_unary_call.h
@@ -62,12 +62,12 @@ Status BlockingUnaryCall(ChannelInterface* channel, const RpcMethod& method,
CallOpClientSendClose,
CallOpClientRecvStatus> ops;
Status status;
- ops.AddSendInitialMetadata(context);
- ops.AddSendMessage(request);
- ops.AddRecvInitialMetadata(context);
- ops.AddRecvMessage(result);
- ops.AddClientSendClose();
- ops.AddClientRecvStatus(context, &status);
+ ops.SendInitialMetadata(context->send_initial_metadata_);
+ ops.SendMessage(request);
+ ops.RecvInitialMetadata(context);
+ ops.RecvMessage(result);
+ ops.ClientSendClose();
+ ops.ClientRecvStatus(context, &status);
call.PerformOps(&ops);
GPR_ASSERT((cq.Pluck(&ops) && ops.got_message) || !status.IsOk());
return status;