diff options
author | yang-g <yangg@google.com> | 2017-08-02 09:31:24 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2017-08-02 09:31:24 -0700 |
commit | e8a61d63b5a6db0f81b688481a9485d412e5a41e (patch) | |
tree | eea2cfba4e8105cf0ae823029a65a376e77abff7 /include/grpc++/impl | |
parent | fc22d7af9148d0e043377b11f32c83e098400a6f (diff) |
Add a default delete override for the interface
Diffstat (limited to 'include/grpc++/impl')
-rw-r--r-- | include/grpc++/impl/codegen/async_unary_call.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/grpc++/impl/codegen/async_unary_call.h b/include/grpc++/impl/codegen/async_unary_call.h index 41b3ae3f28..6da64f0da1 100644 --- a/include/grpc++/impl/codegen/async_unary_call.h +++ b/include/grpc++/impl/codegen/async_unary_call.h @@ -307,6 +307,11 @@ class default_delete<grpc::ClientAsyncResponseReader<R>> { public: void operator()(void* p) {} }; +template <class R> +class default_delete<grpc::ClientAsyncResponseReaderInterface<R>> { + public: + void operator()(void* p) {} +}; } #endif // GRPCXX_IMPL_CODEGEN_ASYNC_UNARY_CALL_H |