diff options
Diffstat (limited to 'src/server/events/Move.cpp')
-rw-r--r-- | src/server/events/Move.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server/events/Move.cpp b/src/server/events/Move.cpp index 44939525..9da77bc8 100644 --- a/src/server/events/Move.cpp +++ b/src/server/events/Move.cpp @@ -14,8 +14,6 @@ along with Ingen. If not, see <http://www.gnu.org/licenses/>. */ -#include <glibmm/thread.h> - #include "ingen/Store.hpp" #include "raul/Path.hpp" @@ -50,7 +48,7 @@ Move::~Move() bool Move::pre_process() { - Glib::RWLock::WriterLock lock(_engine.store()->lock()); + std::unique_lock<std::mutex> lock(_engine.store()->mutex()); if (!_old_path.parent().is_parent_of(_new_path)) { return Event::pre_process_done(Status::PARENT_DIFFERS, _new_path); |