aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2017-08-02 12:24:50 -0700
committerGravatar GitHub <noreply@github.com>2017-08-02 12:24:50 -0700
commite1653dec3e360fd02cd15d87e9cf78f7cb02bfa5 (patch)
treeba73ce20db14961d76911b946e77ced71d3334f2
parent5dee4fac968ee68de32766058c2799f6d45fe588 (diff)
parente8a61d63b5a6db0f81b688481a9485d412e5a41e (diff)
Merge pull request #12037 from yang-g/missing_sneaky
Add a default delete override for the interface
-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