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
+1 -1
View File
@@ -20,11 +20,11 @@
#ifndef MPD_PLAYLIST_ANY_HXX
#define MPD_PLAYLIST_ANY_HXX
#include "thread/Mutex.hxx"
#include "config.h"
#include <memory>
class Mutex;
class SongEnumerator;
class Storage;
+1 -1
View File
@@ -20,11 +20,11 @@
#ifndef MPD_PLAYLIST_MAPPER_HXX
#define MPD_PLAYLIST_MAPPER_HXX
#include "thread/Mutex.hxx"
#include "config.h"
#include <memory>
class Mutex;
class SongEnumerator;
class Storage;
+1 -1
View File
@@ -21,10 +21,10 @@
#define MPD_PLAYLIST_PLUGIN_HXX
#include "input/Ptr.hxx"
#include "thread/Mutex.hxx"
struct ConfigBlock;
struct Tag;
class Mutex;
class SongEnumerator;
struct playlist_plugin {
+1 -1
View File
@@ -21,10 +21,10 @@
#define MPD_PLAYLIST_REGISTRY_HXX
#include "input/Ptr.hxx"
#include "thread/Mutex.hxx"
#include "util/Compiler.h"
struct ConfigData;
class Mutex;
class SongEnumerator;
extern const struct playlist_plugin *const playlist_plugins[];
+1 -1
View File
@@ -20,11 +20,11 @@
#ifndef MPD_PLAYLIST_STREAM_HXX
#define MPD_PLAYLIST_STREAM_HXX
#include "thread/Mutex.hxx"
#include "util/Compiler.h"
#include <memory>
class Mutex;
class SongEnumerator;
class Path;