Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /branches/edit_controllers/rosegarden/src/gui/seqmanager/SequenceManager.cpp [r12984] .. [r12985] Maximize Restore

  Switch to side-by-side view

--- a/branches/edit_controllers/rosegarden/src/gui/seqmanager/SequenceManager.cpp
+++ b/branches/edit_controllers/rosegarden/src/gui/seqmanager/SequenceManager.cpp
@@ -1302,7 +1302,7 @@
 
     // Send the MappedInstruments full information to the Sequencer 
     InstrumentList::iterator it = list.begin();
-    for (; it != list.end(); it++) {
+    for (; it != list.end(); ++it) {
 
         StudioControl::sendMappedInstrument(MappedInstrument(*it));
     }
@@ -1468,7 +1468,7 @@
     MappedEventList retMc;
     MappedEventList::const_iterator it = mC.begin();
 
-    for (; it != mC.end(); it++) {
+    for (; it != mC.end(); ++it) {
         if (!((*it)->getType() & filter))
             retMc.insert(new MappedEvent(*it));
     }