aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/filters/client_channel/method_params.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ext/filters/client_channel/method_params.h')
-rw-r--r--src/core/ext/filters/client_channel/method_params.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ext/filters/client_channel/method_params.h b/src/core/ext/filters/client_channel/method_params.h
index 099924edf3..a31d360f17 100644
--- a/src/core/ext/filters/client_channel/method_params.h
+++ b/src/core/ext/filters/client_channel/method_params.h
@@ -60,6 +60,10 @@ class ClientChannelMethodParams : public RefCounted<ClientChannelMethodParams> {
template <typename T, typename... Args>
friend T* grpc_core::New(Args&&... args);
+ // So Delete() can call our private dtor.
+ template <typename T>
+ friend void grpc_core::Delete(T*);
+
ClientChannelMethodParams() {}
virtual ~ClientChannelMethodParams() {}