Fix abstract base class definition

pull/16302/head
Vijay Pai 6 years ago
parent d0f116c885
commit e91ae9d694
  1. 5
      src/core/lib/surface/completion_queue.h

@ -25,6 +25,7 @@
#include <grpc/grpc.h> #include <grpc/grpc.h>
#include "src/core/lib/debug/trace.h" #include "src/core/lib/debug/trace.h"
#include "src/core/lib/gprpp/abstract.h"
#include "src/core/lib/iomgr/pollset.h" #include "src/core/lib/iomgr/pollset.h"
/* These trace flags default to 1. The corresponding lines are only traced /* These trace flags default to 1. The corresponding lines are only traced
@ -58,7 +59,9 @@ namespace grpc_core {
class CQCallbackInterface { class CQCallbackInterface {
public: public:
virtual ~CQCallbackInterface() {} virtual ~CQCallbackInterface() {}
virtual void Run(bool) = 0; virtual void Run(bool) GRPC_ABSTRACT;
GRPC_ABSTRACT_BASE_CLASS
}; };
} // namespace grpc_core } // namespace grpc_core

Loading…
Cancel
Save