提交 718ea6db 编写于 作者: D dongdaxiang

fix fleet code style

test=develop
上级 a53c8cd5
...@@ -121,13 +121,11 @@ void FleetWrapper::GatherServers(const std::vector<uint64_t>& host_sign_list, ...@@ -121,13 +121,11 @@ void FleetWrapper::GatherServers(const std::vector<uint64_t>& host_sign_list,
#endif #endif
} }
void FleetWrapper::GatherClients( void FleetWrapper::GatherClients(const std::vector<uint64_t>& host_sign_list) {
const std::vector<uint64_t>& host_sign_list) {
#ifdef PADDLE_WITH_PSLIB #ifdef PADDLE_WITH_PSLIB
VLOG(3) << "Going to gather client ips"; VLOG(3) << "Going to gather client ips";
size_t len = host_sign_list.size(); size_t len = host_sign_list.size();
pslib_ptr_->gather_clients(const_cast<uint64_t*>(host_sign_list.data()), pslib_ptr_->gather_clients(const_cast<uint64_t*>(host_sign_list.data()), len);
len);
#endif #endif
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册