Changeset 11071 for code/trunk/src/libraries/tools/interfaces
- Timestamp:
- Jan 17, 2016, 10:29:21 PM (9 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/tools/interfaces/TimeFactorListener.h
r9667 r11071 39 39 public: 40 40 TimeFactorListener(); 41 virtual ~TimeFactorListener() {}41 virtual ~TimeFactorListener() = default; 42 42 43 43 static void setTimeFactor(float factor); -
code/trunk/src/libraries/tools/interfaces/ToolsInterfaceCompilation.cc
r10624 r11071 60 60 float oldFactor = TimeFactorListener::timefactor_s; 61 61 TimeFactorListener::timefactor_s = factor; 62 for ( ObjectList<TimeFactorListener>::iterator it = ObjectList<TimeFactorListener>::begin(); it != ObjectList<TimeFactorListener>::end(); ++it)63 it->changedTimeFactor(factor, oldFactor);62 for (TimeFactorListener* listener : ObjectList<TimeFactorListener>()) 63 listener->changedTimeFactor(factor, oldFactor); 64 64 } 65 65
Note: See TracChangeset
for help on using the changeset viewer.