diff options
author | Vijay Pai <vpai@google.com> | 2018-08-14 02:18:15 -0700 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2018-08-14 02:18:15 -0700 |
commit | e91ae9d69489d7b031aa09240ba6f044b2692ad6 (patch) | |
tree | 2851c2c3602477a453bc70dd96f89673d7668989 /src | |
parent | d0f116c885af5b7b4570373c33f6960108bc8baa (diff) |
Fix abstract base class definition
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lib/surface/completion_queue.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/lib/surface/completion_queue.h b/src/core/lib/surface/completion_queue.h index 5aa54682e0..a7c524d8e8 100644 --- a/src/core/lib/surface/completion_queue.h +++ b/src/core/lib/surface/completion_queue.h @@ -25,6 +25,7 @@ #include <grpc/grpc.h> #include "src/core/lib/debug/trace.h" +#include "src/core/lib/gprpp/abstract.h" #include "src/core/lib/iomgr/pollset.h" /* These trace flags default to 1. The corresponding lines are only traced @@ -58,7 +59,9 @@ namespace grpc_core { class CQCallbackInterface { public: virtual ~CQCallbackInterface() {} - virtual void Run(bool) = 0; + virtual void Run(bool) GRPC_ABSTRACT; + + GRPC_ABSTRACT_BASE_CLASS }; } // namespace grpc_core |