Changeset 595 for XIOS/trunk/src/group_template_impl.hpp
- Timestamp:
- 05/26/15 16:13:46 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/group_template_impl.hpp
r591 r595 385 385 msg<<this->getId() ; 386 386 msg<<id ; 387 event.push(client->getServerLeader(),1,msg) ; 387 const std::list<int>& ranks = client->getRanksServerLeader(); 388 for (std::list<int>::const_iterator itRank = ranks.begin(), itRankEnd = ranks.end(); itRank != itRankEnd; ++itRank) 389 event.push(*itRank,1,msg) ; 388 390 client->sendEvent(event) ; 389 391 } … … 407 409 msg<<this->getId() ; 408 410 msg<<id ; 409 event.push(client->getServerLeader(),1,msg) ; 411 const std::list<int>& ranks = client->getRanksServerLeader(); 412 for (std::list<int>::const_iterator itRank = ranks.begin(), itRankEnd = ranks.end(); itRank != itRankEnd; ++itRank) 413 event.push(*itRank,1,msg) ; 410 414 client->sendEvent(event) ; 411 415 }
Note: See TracChangeset
for help on using the changeset viewer.