diff --git a/src/core/lib/iomgr/executor/mpmcqueue.h b/src/core/lib/iomgr/executor/mpmcqueue.h index 0fdd1d2d5a0..e19b66241fb 100644 --- a/src/core/lib/iomgr/executor/mpmcqueue.h +++ b/src/core/lib/iomgr/executor/mpmcqueue.h @@ -92,6 +92,7 @@ class MPMCQueue : public MPMCQueueInterface { next = nullptr; insert_time = gpr_now(GPR_CLOCK_PRECISE); } + GRPC_ABSTRACT_BASE_CLASS }; struct Stats { // Stats of queue diff --git a/test/core/iomgr/mpmcqueue_test.cc b/test/core/iomgr/mpmcqueue_test.cc index 10a934ed149..9fa09153708 100644 --- a/test/core/iomgr/mpmcqueue_test.cc +++ b/test/core/iomgr/mpmcqueue_test.cc @@ -141,8 +141,6 @@ class WorkThread { void Start() { thd_.Start(); } void Join() { thd_.Join(); } - GRPC_ABSTRACT_BASE_CLASS - private: void Run() { items_ = new WorkItem*[num_items_];