aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-11-01 18:08:43 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2018-11-01 18:17:02 -0700
commit382fe4b4753e3cda6439b0a8febcd94807cd68c7 (patch)
treee2c9892d30a5d67bbbc1dbf96ec1ca2c2c1d0f78 /include
parentddcadad5b5cffa6f8ddfc0d908ee117c34481ded (diff)
Add override back to GetInterceptedChannel
Diffstat (limited to 'include')
-rw-r--r--include/grpcpp/impl/codegen/interceptor_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpcpp/impl/codegen/interceptor_common.h b/include/grpcpp/impl/codegen/interceptor_common.h
index f520e7905a..957d4f5ee7 100644
--- a/include/grpcpp/impl/codegen/interceptor_common.h
+++ b/include/grpcpp/impl/codegen/interceptor_common.h
@@ -145,7 +145,7 @@ class InterceptorBatchMethodsImpl
recv_trailing_metadata_ = map;
}
- std::unique_ptr<ChannelInterface> GetInterceptedChannel() {
+ std::unique_ptr<ChannelInterface> GetInterceptedChannel() override {
auto* info = call_->client_rpc_info();
if (info == nullptr) {
return std::unique_ptr<ChannelInterface>(nullptr);
@@ -444,7 +444,7 @@ class CancelInterceptorBatchMethods
return nullptr;
}
- std::unique_ptr<ChannelInterface> GetInterceptedChannel() {
+ std::unique_ptr<ChannelInterface> GetInterceptedChannel() override {
GPR_CODEGEN_ASSERT(false &&
"It is illegal to call GetInterceptedChannel on a "
"method which has a Cancel notification");