Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Did not get all xmlElements…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.