diff options
Diffstat (limited to 'include/grpc++')
-rw-r--r-- | include/grpc++/async_unary_call.h | 2 | ||||
-rw-r--r-- | include/grpc++/channel_arguments.h | 2 | ||||
-rw-r--r-- | include/grpc++/server.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/grpc++/async_unary_call.h b/include/grpc++/async_unary_call.h index f86a1ea518..658941bb6d 100644 --- a/include/grpc++/async_unary_call.h +++ b/include/grpc++/async_unary_call.h @@ -92,7 +92,7 @@ class ServerAsyncResponseWriter GRPC_FINAL explicit ServerAsyncResponseWriter(ServerContext* ctx) : call_(nullptr, nullptr, nullptr), ctx_(ctx) {} - void SendInitialMetadata(void* tag) { + void SendInitialMetadata(void* tag) GRPC_OVERRIDE { GPR_ASSERT(!ctx_->sent_initial_metadata_); meta_buf_.Reset(tag); diff --git a/include/grpc++/channel_arguments.h b/include/grpc++/channel_arguments.h index b649ba23b8..8d338c654e 100644 --- a/include/grpc++/channel_arguments.h +++ b/include/grpc++/channel_arguments.h @@ -66,7 +66,7 @@ class ChannelArguments { void SetChannelArgs(grpc_channel_args* channel_args) const; private: - friend class Channel; + friend class SecureCredentials; friend class testing::ChannelArgumentsTest; // TODO(yangg) implement copy and assign diff --git a/include/grpc++/server.h b/include/grpc++/server.h index cc9cbe2e8d..43c8432caf 100644 --- a/include/grpc++/server.h +++ b/include/grpc++/server.h @@ -96,7 +96,7 @@ class Server GRPC_FINAL : private CallHook, void RequestAsyncCall(void* registered_method, ServerContext* context, grpc::protobuf::Message* request, ServerAsyncStreamingInterface* stream, - CompletionQueue* cq, void* tag); + CompletionQueue* cq, void* tag) GRPC_OVERRIDE; // Completion queue. CompletionQueue cq_; |