From 718ea6dbd5a1bb1fd959117085c8821bc0c0fccb Mon Sep 17 00:00:00 2001 From: dongdaxiang Date: Sat, 30 Mar 2019 19:12:12 +0800 Subject: [PATCH] fix fleet code style test=develop --- paddle/fluid/framework/fleet/fleet_wrapper.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/paddle/fluid/framework/fleet/fleet_wrapper.cc b/paddle/fluid/framework/fleet/fleet_wrapper.cc index 06fde33042c..8147c774619 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 } -- GitLab