aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/stream.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-02-09 16:15:23 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-02-09 16:15:23 -0800
commit5319164875774098870896515d48ce6b41ec1332 (patch)
tree53cfc2b0218a975230d21bdcc0ae3de43d9d177a /include/grpc++/stream.h
parent8de8c646c5c231796e45ecb8e4302f1a3fc4004c (diff)
Cleanup
Diffstat (limited to 'include/grpc++/stream.h')
-rw-r--r--include/grpc++/stream.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/grpc++/stream.h b/include/grpc++/stream.h
index 34604191e5..22dc44efe4 100644
--- a/include/grpc++/stream.h
+++ b/include/grpc++/stream.h
@@ -316,7 +316,7 @@ class AsyncReaderInterface {
template <class W>
class AsyncWriterInterface {
public:
- virtual ~Async WriterInterface() {}
+ virtual ~AsyncWriterInterface() {}
virtual void Write(const W& msg, void* tag) = 0;
};
@@ -354,7 +354,7 @@ class ClientAsyncReader final : public ClientAsyncStreamingInterface,
};
template <class W>
-class ClientWriter final : public ClientAsyncStreamingInterface,
+class ClientAsyncWriter final : public ClientAsyncStreamingInterface,
public WriterInterface<W> {
public:
// Blocking create a stream.
@@ -411,7 +411,7 @@ class ClientAsyncReaderWriter final : public ClientAsyncStreamingInterface,
call_.PerformOps(&buf, tag);
}
- virtual bool WritesDone(void* tag) {
+ virtual void WritesDone(void* tag) {
CallOpBuffer buf;
buf.AddClientSendClose();
call_.PerformOps(&buf, tag);
@@ -419,7 +419,6 @@ class ClientAsyncReaderWriter final : public ClientAsyncStreamingInterface,
virtual void Finish(Status* status, void* tag) override {
CallOpBuffer buf;
- Status status;
buf.AddClientRecvStatus(status);
call_.PerformOps(&buf, tag);
}