diff options
author | 2016-01-12 15:54:32 -0800 | |
---|---|---|
committer | 2016-01-12 15:54:32 -0800 | |
commit | 899e5a82f63da0bc7f541f82ff6ad333daf7145b (patch) | |
tree | 543ec2843f77a0cf0e7506ccaff1158f5a83fc43 /include | |
parent | 0a98612e1c3ff343f8bcf2396533126035008f8b (diff) |
Add a virtual destructor for the ClientContext::GlobalCallbacks.
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/client_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; }; |