mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-23 15:50:05 +02:00
Merge branch 'revert'
This commit is contained in:
commit
2207ebeb7d
@ -302,6 +302,11 @@ class AUDACITY_DLL_API WaveTrack final : public Track {
|
|||||||
Locker (const WaveTrack *pTrack)
|
Locker (const WaveTrack *pTrack)
|
||||||
: LockerBase{ pTrack }
|
: LockerBase{ pTrack }
|
||||||
{ pTrack->Lock(); }
|
{ pTrack->Lock(); }
|
||||||
|
Locker(Locker &&that) : LockerBase{std::move(that)} {}
|
||||||
|
Locker &operator= (Locker &&that) {
|
||||||
|
(LockerBase&)(*this) = std::move(that);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
bool CloseLock(); //similar to Lock but should be called when the project closes.
|
bool CloseLock(); //similar to Lock but should be called when the project closes.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user