commit | 9635a04fed00cc1e9b72954cb3f72417b7f10e15 | [log] [tgz] |
---|---|---|
author | Mark D. Roth <roth@google.com> | Fri Apr 20 10:44:17 2018 -0700 |
committer | Mark D. Roth <roth@google.com> | Fri Apr 20 10:44:17 2018 -0700 |
tree | 0951982aa11a62c833384d36c15fe23dd346c879 | |
parent | a1459aa6ce2a11f8d11a067cb6c86e6af84ffd71 [diff] [blame] |
Work-around for ref-counted subclass deletion address problem.
diff --git a/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc b/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc index 0b2a308..097ff11 100644 --- a/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +++ b/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc
@@ -189,6 +189,10 @@ bool seen_initial_response() const { return seen_initial_response_; } private: + // So Delete() can access our private dtor. + template <typename T> + friend void grpc_core::Delete(T*); + ~BalancerCallState(); GrpcLb* grpclb_policy() const {