Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 11, 2010, 3:09:48 PM (14 years ago)
Author:
dafrick
Message:

Did not get all xmlElements…

Location:
code/trunk/src/modules/notifications
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/notifications/NotificationDispatcher.cc

    r7407 r7408  
    105105    @param triggered
    106106        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.
    107109    @return
    108110        Returns true if the NotificationDispatcher was successfully triggered.
  • code/trunk/src/modules/notifications/NotificationQueue.cc

    r7403 r7408  
    151151            std::multiset<NotificationContainer*, NotificationContainerCompare>::iterator it = this->ordering_.begin();
    152152            // 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())
    154154            {
    155155                NotificationContainer* temp = *it;
Note: See TracChangeset for help on using the changeset viewer.