diff --git a/libs/ardour/ardour/playlist.h b/libs/ardour/ardour/playlist.h index f7e1c40bae..ff2ac35954 100644 --- a/libs/ardour/ardour/playlist.h +++ b/libs/ardour/ardour/playlist.h @@ -232,7 +232,7 @@ public: protected: struct RegionReadLock : public Glib::RWLock::ReaderLock { RegionReadLock (Playlist *pl) : Glib::RWLock::ReaderLock (pl->region_lock) {} - ~RegionReadLock() { Glib::RWLock::ReaderLock::release (); } + ~RegionReadLock() {} }; struct RegionWriteLock : public Glib::RWLock::WriterLock {