fix non-virtual-dtor

compiling with -Wnon-virtual-dtor works with this patch
pull/14162/head
Tobias Jungel 7 years ago
parent b0d71823a0
commit f258b56f43
  1. 2
      include/grpcpp/impl/codegen/core_codegen_interface.h
  2. 1
      include/grpcpp/impl/codegen/grpc_library.h

@ -36,6 +36,8 @@ namespace grpc {
/// \warning This interface should be considered internal and private.
class CoreCodegenInterface {
public:
virtual ~CoreCodegenInterface() = default;
/// Upon a failed assertion, log the error.
virtual void assert_fail(const char* failed_assertion, const char* file,
int line) = 0;

@ -25,6 +25,7 @@ namespace grpc {
class GrpcLibraryInterface {
public:
virtual ~GrpcLibraryInterface() = default;
virtual void init() = 0;
virtual void shutdown() = 0;
};

Loading…
Cancel
Save