aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2018-08-14 02:18:15 -0700
committerGravatar Vijay Pai <vpai@google.com>2018-08-14 02:18:15 -0700
commite91ae9d69489d7b031aa09240ba6f044b2692ad6 (patch)
tree2851c2c3602477a453bc70dd96f89673d7668989 /src
parentd0f116c885af5b7b4570373c33f6960108bc8baa (diff)
Fix abstract base class definition
Diffstat (limited to 'src')
-rw-r--r--src/core/lib/surface/completion_queue.h5
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