aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp/client/client_unary_call.cc
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-02-11 13:59:25 -0800
committerGravatar Yang Gao <yangg@google.com>2015-02-11 13:59:25 -0800
commit23822932262c5a3eb9404be59d5512fe4c88f18d (patch)
tree26a806350f5f88c8900a5bf85c5767eb9225a735 /src/cpp/client/client_unary_call.cc
parent1464bc175d4f2beaad9eb93ccbd859268755678e (diff)
Make it compile
Diffstat (limited to 'src/cpp/client/client_unary_call.cc')
-rw-r--r--src/cpp/client/client_unary_call.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpp/client/client_unary_call.cc b/src/cpp/client/client_unary_call.cc
index 73be3cff8c..6825398612 100644
--- a/src/cpp/client/client_unary_call.cc
+++ b/src/cpp/client/client_unary_call.cc
@@ -52,7 +52,7 @@ Status BlockingUnaryCall(ChannelInterface *channel, const RpcMethod &method,
buf.AddSendMessage(request);
buf.AddRecvMessage(result);
buf.AddClientSendClose();
- buf.AddClientRecvStatus(&status);
+ buf.AddClientRecvStatus(nullptr, &status); // TODO metadata
call.PerformOps(&buf);
cq.Pluck(&buf);
return status;