diff --git a/paddle/fluid/framework/fleet/fleet_wrapper.cc b/paddle/fluid/framework/fleet/fleet_wrapper.cc index 06fde33042c40bb5c3e5c057a076c629bda33f03..8147c7746192a91bb82c2aa754c5664def4c142f 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 }