- Timestamp:
- Sep 11, 2010, 5:05:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/notifications/NotificationManager.cc
r7403 r7413 129 129 for(std::map<NotificationListener*, unsigned int>::iterator it = this->listenerList_.begin(); it != this->listenerList_.end(); it++) // Iterate through all NotificationListeners. 130 130 { 131 std::set<std::string, NotificationListenerStringCompare> set = it->first->getTargetsSet();131 std::set<std::string, StringCompare> set = it->first->getTargetsSet(); 132 132 bool bAll = set.find(NotificationManager::ALL) != set.end(); 133 133 // If either the Notification has as sender 'all', the NotificationListener displays all Notifications or the NotificationListener has the sender of the Notification as target. … … 210 210 this->listenerList_[listener] = index; // Add the NotificationListener to the list of NotificationListeners. 211 211 212 std::set<std::string, NotificationListenerStringCompare> set = listener->getTargetsSet();212 std::set<std::string, StringCompare> set = listener->getTargetsSet(); 213 213 214 214 // If all senders are the target of the NotificationListener, then the list of Notifications for that specific NotificationListener is the same as the list of all Notifications. … … 248 248 assert(listener); 249 249 250 //TODO: Make unsigned int.251 250 unsigned int identifier = this->listenerList_.find(listener)->second; 252 251 std::multimap<std::time_t, Notification*>* map = this->notificationLists_.find(identifier)->second;
Note: See TracChangeset
for help on using the changeset viewer.