mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 07:43:54 +02:00
movable_ptr(_with_deleter) -> std::unique_ptr
This commit is contained in:
@@ -180,7 +180,7 @@ class PROFILE_DLL_API BlockFile /* not final, abstract */ {
|
||||
struct ReadUnlocker { void operator () ( const BlockFile *p ) const {
|
||||
if (p) p->UnlockRead(); } };
|
||||
using ReadLockBase =
|
||||
movable_ptr_with_deleter< const BlockFile, ReadUnlocker >;
|
||||
std::unique_ptr< const BlockFile, ReadUnlocker >;
|
||||
|
||||
public:
|
||||
class ReadLock : public ReadLockBase
|
||||
|
||||
Reference in New Issue
Block a user