From 287cff40b964406e9d2c6468b587ab0a81a3626a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 23 Sep 2018 17:16:17 +0200 Subject: [PATCH] player/Control: remove Lock(), Unlock() --- src/player/Control.hxx | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/player/Control.hxx b/src/player/Control.hxx index 1bf41bb77..db20af4ce 100644 --- a/src/player/Control.hxx +++ b/src/player/Control.hxx @@ -246,20 +246,6 @@ public: thread.Start(); } - /** - * Locks the object. - */ - void Lock() const noexcept { - mutex.lock(); - } - - /** - * Unlocks the object. - */ - void Unlock() const noexcept { - mutex.unlock(); - } - /** * Signals the object. The object should be locked prior to * calling this function.