summaryrefslogtreecommitdiff
path: root/src/thread
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread')
-rw-r--r--src/thread/Mutex.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread/Mutex.hxx b/src/thread/Mutex.hxx
index f1aa03cb2..a28bb13a7 100644
--- a/src/thread/Mutex.hxx
+++ b/src/thread/Mutex.hxx
@@ -35,12 +35,12 @@
#ifdef _WIN32
#include "CriticalSection.hxx"
-class Mutex : public CriticalSection {};
+using Mutex = CriticalSection;
#else
#include "PosixMutex.hxx"
-class Mutex : public PosixMutex {};
+using Mutex = PosixMutex;
#endif