Changeset 7408 for code/trunk/src/modules/notifications
- Timestamp:
- Sep 11, 2010, 3:09:48 PM (14 years ago)
- Location:
- code/trunk/src/modules/notifications
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/notifications/NotificationDispatcher.cc
r7407 r7408 105 105 @param triggered 106 106 Whether it has been triggered or untriggered. The NotificationDispatcher only reacts to the first kind of events. 107 @param trigger 108 The object that caused the event to be fired. 107 109 @return 108 110 Returns true if the NotificationDispatcher was successfully triggered. -
code/trunk/src/modules/notifications/NotificationQueue.cc
r7403 r7408 151 151 std::multiset<NotificationContainer*, NotificationContainerCompare>::iterator it = this->ordering_.begin(); 152 152 // Iterate through all elements whose creation time is smaller than the current time minus the display time. 153 while(it != this->ordering_.upper_bound(&this->timeLimit_) )153 while(it != this->ordering_.upper_bound(&this->timeLimit_) && it != this->ordering_.end()) 154 154 { 155 155 NotificationContainer* temp = *it;
Note: See TracChangeset
for help on using the changeset viewer.