diff --git a/src/cpp/common/completion_queue_cc.cc b/src/cpp/common/completion_queue_cc.cc index b3af25fbf95..6893201e2e3 100644 --- a/src/cpp/common/completion_queue_cc.cc +++ b/src/cpp/common/completion_queue_cc.cc @@ -50,12 +50,6 @@ void CompletionQueue::CompleteAvalanching() { } } -bool CompletionQueue::Next(void** tag, bool* ok) { - return (AsyncNextInternal(tag, ok, - g_core_codegen_interface->gpr_inf_future( - GPR_CLOCK_REALTIME)) != SHUTDOWN); -} - CompletionQueue::NextStatus CompletionQueue::AsyncNextInternal( void** tag, bool* ok, gpr_timespec deadline) { for (;;) { diff --git a/test/cpp/codegen/codegen_test_minimal.cc b/test/cpp/codegen/codegen_test_minimal.cc index a614848184f..d317ea31164 100644 --- a/test/cpp/codegen/codegen_test_minimal.cc +++ b/test/cpp/codegen/codegen_test_minimal.cc @@ -16,14 +16,9 @@ * */ -#include #include namespace grpc { - -// Unused implementation for the virtual "Next" method. -bool CompletionQueue::Next(void** tag, bool* ok) { return false; } - namespace { class CodegenTestMinimal : public ::testing::Test {};