- Timestamp:
- Sep 11, 2010, 8:30:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/notifications/NotificationManager.cc
r7413 r7417 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, StringCompare>set = it->first->getTargetsSet();131 const std::set<std::string>& 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, StringCompare>set = listener->getTargetsSet();212 const std::set<std::string>& 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.
Note: See TracChangeset
for help on using the changeset viewer.