Merge pull request #16910 from vjpai/tidier

Fixes for clang-tidy
pull/16737/merge
Vijay Pai 6 years ago committed by GitHub
commit d0109d6ac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      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) {

Loading…
Cancel
Save