From e740f8d969f3645a92b1146bb0db4a4b4ae0abb0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 25 Apr 2019 19:34:26 +0200 Subject: [PATCH] decoder/Control: remove unused methods Lock(), Unlock() --- src/decoder/Control.hxx | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/decoder/Control.hxx b/src/decoder/Control.hxx index 1e272255f..899767751 100644 --- a/src/decoder/Control.hxx +++ b/src/decoder/Control.hxx @@ -193,20 +193,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. This function is only valid in the * player thread. The object should be locked prior to