mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 00:03:52 +02:00
Remove most uses of AUDACITY_OLD_STD
This commit is contained in:
@@ -189,14 +189,6 @@ class PROFILE_DLL_API BlockFile /* not final, abstract */ {
|
||||
ReadLock ( const BlockFile *p, const BlockFile::ReadUnlocker &u )
|
||||
: ReadLockBase { p, u } {}
|
||||
public:
|
||||
#ifdef __AUDACITY_OLD_STD__
|
||||
ReadLock (const ReadLock &that) : ReadLockBase( that ) {}
|
||||
ReadLock &operator= (const ReadLock &that)
|
||||
{
|
||||
*((ReadLockBase*)this) = that;
|
||||
return *this;
|
||||
}
|
||||
#endif
|
||||
ReadLock(ReadLock&&that) : ReadLockBase{ std::move(that) } {}
|
||||
using Suspension = std::unique_ptr< const BlockFile, ReadLocker >;
|
||||
Suspension Suspend() const
|
||||
|
||||
Reference in New Issue
Block a user