Add base class abstract macro to all classes

pull/19358/head
Yunjia Wang 6 years ago
parent 01ffaf8bac
commit 58e36f1034
  1. 2
      src/core/lib/iomgr/executor/mpmcqueue.h
  2. 2
      test/core/iomgr/mpmcqueue_test.cc

@ -48,6 +48,8 @@ class MPMCQueueInterface {
// Return number of elements in the queue currently
virtual int count() const GRPC_ABSTRACT;
GRPC_ABSTRACT_BASE_CLASS
};
class MPMCQueue : public MPMCQueueInterface {

@ -141,6 +141,8 @@ class WorkThread {
void Start() { thd_.Start(); }
void Join() { thd_.Join(); }
GRPC_ABSTRACT_BASE_CLASS
private:
void Run() {
items_ = new WorkItem*[num_items_];

Loading…
Cancel
Save