From 382fe4b4753e3cda6439b0a8febcd94807cd68c7 Mon Sep 17 00:00:00 2001 From: Yash Tibrewal Date: Thu, 1 Nov 2018 18:08:43 -0700 Subject: Add override back to GetInterceptedChannel --- include/grpcpp/impl/codegen/interceptor_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 GetInterceptedChannel() { + std::unique_ptr GetInterceptedChannel() override { auto* info = call_->client_rpc_info(); if (info == nullptr) { return std::unique_ptr(nullptr); @@ -444,7 +444,7 @@ class CancelInterceptorBatchMethods return nullptr; } - std::unique_ptr GetInterceptedChannel() { + std::unique_ptr GetInterceptedChannel() override { GPR_CODEGEN_ASSERT(false && "It is illegal to call GetInterceptedChannel on a " "method which has a Cancel notification"); -- cgit v1.2.3