From 899e5a82f63da0bc7f541f82ff6ad333daf7145b Mon Sep 17 00:00:00 2001 From: Bogdan Drutu <bdrutu@google.com> Date: Tue, 12 Jan 2016 15:54:32 -0800 Subject: [PATCH] Add a virtual destructor for the ClientContext::GlobalCallbacks. --- include/grpc++/client_context.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/grpc++/client_context.h b/include/grpc++/client_context.h index a0d5c0e3c4..ab1212e706 100644 --- a/include/grpc++/client_context.h +++ b/include/grpc++/client_context.h @@ -286,6 +286,7 @@ class ClientContext { /// a client context is constructed and destructed. class GlobalCallbacks { public: + virtual GlobalCallbacks() {} virtual void DefaultConstructor(ClientContext* context) = 0; virtual void Destructor(ClientContext* context) = 0; }; -- GitLab