mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-06 23:02:42 +02:00
Fix WaveTrack::SplitAt
This commit is contained in:
parent
9cdbd18cd0
commit
3db132f9b0
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user