fix duplication of method-scope variable decl

This commit is contained in:
Paul Davis
2021-07-03 18:59:50 -06:00
parent cd1f6269a9
commit d4cfedf6d4

View File

@@ -1402,7 +1402,6 @@ Playlist::duplicate_ranges (std::list<TimelineRange>& ranges, float times)
void
Playlist::shift (timepos_t const & at, timecnt_t const & distance, bool move_intersected, bool ignore_music_glue)
{
PBD::Unwinder<bool> uw (_playlist_shift_active, true);
PBD::Unwinder<bool> uw (_playlist_shift_active, true);
RegionWriteLock rlock (this);
RegionList copy (regions.rlist());