aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2017-08-02 09:31:24 -0700
committerGravatar yang-g <yangg@google.com>2017-08-02 09:31:24 -0700
commite8a61d63b5a6db0f81b688481a9485d412e5a41e (patch)
treeeea2cfba4e8105cf0ae823029a65a376e77abff7 /include/grpc++
parentfc22d7af9148d0e043377b11f32c83e098400a6f (diff)
Add a default delete override for the interface
Diffstat (limited to 'include/grpc++')
-rw-r--r--include/grpc++/impl/codegen/async_unary_call.h5
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