1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-06 23:02:42 +02:00

Fix WaveTrack::SplitAt

This commit is contained in:
Paul Licameli 2017-04-02 10:42:07 -04:00
parent 9cdbd18cd0
commit 3db132f9b0

View File

@ -2333,6 +2333,7 @@ void WaveTrack::SplitAt(double t)
// This could invalidate the iterators for the loop! But we return // This could invalidate the iterators for the loop! But we return
// at once so it's okay // at once so it's okay
mClips.push_back(std::move(newClip)); // transfer ownership mClips.push_back(std::move(newClip)); // transfer ownership
return;
} }
} }
} }