Changeset 6919 for source/ariba/utility/messages/MessageProvider.cpp
- Timestamp:
- Nov 13, 2009, 1:41:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/messages/MessageProvider.cpp
r3690 r6919 49 49 bool MessageProvider::sendMessageToReceivers( const Message* message ) { 50 50 bool sent = false; 51 for ( int i=0; i<receivers.size(); i++)51 for (size_t i=0; i<receivers.size(); i++) 52 52 if (receivers[i]->receiveMessage(message, LinkID::UNSPECIFIED, NodeID::UNSPECIFIED)) sent = true; 53 53 return sent; … … 59 59 60 60 void MessageProvider::removeMessageReceiver( MessageReceiver* receiver ) { 61 for ( int i=0; i<receivers.size(); i++)61 for (size_t i=0; i<receivers.size(); i++) 62 62 if (receivers[i]==receiver) { 63 63 receivers.erase( receivers.begin()+i );
Note:
See TracChangeset
for help on using the changeset viewer.