aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/filters/client_channel/lb_policy/xds
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2018-10-17 10:16:30 -0700
committerGravatar Vijay Pai <vpai@google.com>2018-10-17 10:16:30 -0700
commit1a9c197987b5ecc49fd0e157da42c8c0c715a631 (patch)
tree32575738c994cefd4e185e3e58c570322cc27853 /src/core/ext/filters/client_channel/lb_policy/xds
parentdfb1a0f20624417bff408a14b12a23713085b999 (diff)
clang-tidy fixes
Diffstat (limited to 'src/core/ext/filters/client_channel/lb_policy/xds')
-rw-r--r--src/core/ext/filters/client_channel/lb_policy/xds/xds.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ext/filters/client_channel/lb_policy/xds/xds.cc b/src/core/ext/filters/client_channel/lb_policy/xds/xds.cc
index e6c94167f6..16e910b2d9 100644
--- a/src/core/ext/filters/client_channel/lb_policy/xds/xds.cc
+++ b/src/core/ext/filters/client_channel/lb_policy/xds/xds.cc
@@ -673,7 +673,7 @@ bool XdsLb::BalancerCallState::LoadReportCountersAreZero(
request->client_stats.num_calls_finished_with_client_failed_to_send ==
0 &&
request->client_stats.num_calls_finished_known_received == 0 &&
- (drop_entries == nullptr || drop_entries->size() == 0);
+ (drop_entries == nullptr || drop_entries->empty());
}
void XdsLb::BalancerCallState::SendClientLoadReportLocked() {
@@ -1275,9 +1275,9 @@ grpc_connectivity_state XdsLb::CheckConnectivityLocked(
}
void XdsLb::NotifyOnStateChangeLocked(grpc_connectivity_state* current,
- grpc_closure* notify) {
+ grpc_closure* closure) {
grpc_connectivity_state_notify_on_state_change(&state_tracker_, current,
- notify);
+ closure);
}
void XdsLb::ProcessChannelArgsLocked(const grpc_channel_args& args) {