thread/Mutex: use using instead of making it a derived class
Prepare the transition to std::mutex.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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[];
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user