diff options
-rw-r--r-- | include/grpcpp/impl/codegen/interceptor_common.h | 4 |
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"); |