Add a default delete override for the interface

pull/12037/head
yang-g 8 years ago
parent fc22d7af91
commit e8a61d63b5
  1. 5
      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

Loading…
Cancel
Save