Changeset 11054 for code/branches/cpp11_v3/src/orxonox/MoodManager.cc
- Timestamp:
- Jan 10, 2016, 1:54:11 PM (9 years ago)
- Location:
- code/branches/cpp11_v3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3
- Property svn:mergeinfo changed
-
code/branches/cpp11_v3/src/orxonox/MoodManager.cc
r10624 r11054 103 103 /*static*/ void MoodListener::changedMood(const std::string& mood) 104 104 { 105 for ( ObjectList<MoodListener>::iterator it = ObjectList<MoodListener>::begin(); it; ++it)106 it->moodChanged(mood);105 for (MoodListener* listener : ObjectList<MoodListener>()) 106 listener->moodChanged(mood); 107 107 } 108 108 }
Note: See TracChangeset
for help on using the changeset viewer.