thread/Mutex: use using instead of making it a derived class

Prepare the transition to std::mutex.
This commit is contained in:
Max Kellermann
2019-05-07 19:23:01 +02:00
parent 1b5c1f75a4
commit 0a0cc66e8f
19 changed files with 21 additions and 25 deletions

View File

@@ -18,6 +18,5 @@
*/
#include "Mutex.hxx"
#include "thread/Mutex.hxx"
Mutex smbclient_mutex;

View File

@@ -20,7 +20,7 @@
#ifndef MPD_SMBCLIENT_MUTEX_HXX
#define MPD_SMBCLIENT_MUTEX_HXX
class Mutex;
#include "thread/Mutex.hxx"
/**
* Since libsmbclient is not thread-safe, this mutex must be locked