Changeset 595 for XIOS/trunk/src/node/field.cpp
- Timestamp:
- 05/26/15 16:13:46 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/field.cpp
r591 r595 872 872 msg << this->getId(); 873 873 msg << id; 874 event.push(client->getServerLeader(),1,msg); 874 const std::list<int>& ranks = client->getRanksServerLeader(); 875 for (std::list<int>::const_iterator itRank = ranks.begin(), itRankEnd = ranks.end(); itRank != itRankEnd; ++itRank) 876 event.push(*itRank,1,msg); 875 877 client->sendEvent(event); 876 878 } … … 892 894 msg << this->getId(); 893 895 msg << id; 894 event.push(client->getServerLeader(),1,msg); 896 const std::list<int>& ranks = client->getRanksServerLeader(); 897 for (std::list<int>::const_iterator itRank = ranks.begin(), itRankEnd = ranks.end(); itRank != itRankEnd; ++itRank) 898 event.push(*itRank,1,msg); 895 899 client->sendEvent(event); 896 900 }
Note: See TracChangeset
for help on using the changeset viewer.