if (aTrack == 0)
throw 0;
- for (std::vector<Track*>::const_iterator i = myTracks.begin(); i != myTracks.end(); i ++) {
+ for (std::vector<Track*>::const_iterator i = myTracks.begin(); i != myTracks.end(); ++i) {
if (*i == aTrack)
break;
}
if (IsMyTrack(aTrack)) {
// here we have the right track
// check if it's not already selected
- for (std::vector<uint8>::iterator j = mySelectedTracks.begin(); j != mySelectedTracks.end(); j ++) {
+ for (std::vector<uint8>::iterator j = mySelectedTracks.begin(); j != mySelectedTracks.end(); ++j) {
if (*j == aTrack->TrackNumber())
break;
}
{
for (std::vector<uint8>::const_iterator trackIdx = mySelectedTracks.begin();
trackIdx != mySelectedTracks.end() && *trackIdx < aTrackNumber;
- trackIdx++) {}
+ ++trackIdx) {}
if (trackIdx == mySelectedTracks.end())
return false;
std::vector<DataBuffer *>::iterator myItr = myBuffers.begin();
while (Itr != ElementToClone.myBuffers.end()) {
*myItr = (*Itr)->Clone();
- Itr++; myItr++;
+ ++Itr; ++myItr;
}
}