diff --git a/paddle/fluid/framework/fleet/fleet_wrapper.cc b/paddle/fluid/framework/fleet/fleet_wrapper.cc index 06fde33042..8147c77461 100644 --- a/paddle/fluid/framework/fleet/fleet_wrapper.cc +++ b/paddle/fluid/framework/fleet/fleet_wrapper.cc @@ -121,13 +121,11 @@ void FleetWrapper::GatherServers(const std::vector& host_sign_list, #endif } -void FleetWrapper::GatherClients( - const std::vector& host_sign_list) { +void FleetWrapper::GatherClients(const std::vector& host_sign_list) { #ifdef PADDLE_WITH_PSLIB VLOG(3) << "Going to gather client ips"; size_t len = host_sign_list.size(); - pslib_ptr_->gather_clients(const_cast(host_sign_list.data()), - len); + pslib_ptr_->gather_clients(const_cast(host_sign_list.data()), len); #endif }