diff options
author | 2018-01-24 09:08:05 +0100 | |
---|---|---|
committer | 2018-02-16 12:42:05 +0100 | |
commit | f258b56f43dfa9c5d279b8d73000b087f2a390d2 (patch) | |
tree | c015ef6d39e4e45cf23b6627e15170ddde3c6c4d /include/grpcpp/impl/codegen/core_codegen_interface.h | |
parent | b0d71823a0f031ad1c04be30f22653177139da0b (diff) |
fix non-virtual-dtor
compiling with -Wnon-virtual-dtor works with this patch
Diffstat (limited to 'include/grpcpp/impl/codegen/core_codegen_interface.h')
-rw-r--r-- | include/grpcpp/impl/codegen/core_codegen_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpcpp/impl/codegen/core_codegen_interface.h b/include/grpcpp/impl/codegen/core_codegen_interface.h index 64bc9efc12..d72f579c8e 100644 --- a/include/grpcpp/impl/codegen/core_codegen_interface.h +++ b/include/grpcpp/impl/codegen/core_codegen_interface.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; |