diff options
author | ncteisen <ncteisen@gmail.com> | 2018-05-11 12:42:38 -0400 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-05-11 12:42:38 -0400 |
commit | 15a521e8143e8e6adcdf558fb1ea31668964ac3c (patch) | |
tree | c72b99427edb3a99fea072ef976073c875da42bf /src/core/ext/filters/client_channel/lb_policy.h | |
parent | 1f1b2ad4b5febdfd16c7e8b7ac6714c22083246e (diff) |
Add single point of maintanence for New Delete friends
Diffstat (limited to 'src/core/ext/filters/client_channel/lb_policy.h')
-rw-r--r-- | src/core/ext/filters/client_channel/lb_policy.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/ext/filters/client_channel/lb_policy.h b/src/core/ext/filters/client_channel/lb_policy.h index 454e00a690..dab4466b21 100644 --- a/src/core/ext/filters/client_channel/lb_policy.h +++ b/src/core/ext/filters/client_channel/lb_policy.h @@ -162,9 +162,7 @@ class LoadBalancingPolicy GRPC_ABSTRACT_BASE_CLASS protected: - // So Delete() can access our protected dtor. - template <typename T> - friend void Delete(T*); + GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE explicit LoadBalancingPolicy(const Args& args); virtual ~LoadBalancingPolicy(); |