aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread')
-rw-r--r--src/thread/Cond.hxx4
-rw-r--r--src/thread/Mutex.hxx5
2 files changed, 4 insertions, 5 deletions
diff --git a/src/thread/Cond.hxx b/src/thread/Cond.hxx
index bbaabddc2..ed663dc9d 100644
--- a/src/thread/Cond.hxx
+++ b/src/thread/Cond.hxx
@@ -25,12 +25,12 @@
/* mingw-w64 4.6.3 lacks a std::cond implementation */
#include "WindowsCond.hxx"
-typedef WindowsCond Cond;
+class Cond : public WindowsCond {};
#else
#include "PosixCond.hxx"
-typedef PosixCond Cond;
+class Cond : public PosixCond {};
#endif
diff --git a/src/thread/Mutex.hxx b/src/thread/Mutex.hxx
index 675af74b1..4ed48c972 100644
--- a/src/thread/Mutex.hxx
+++ b/src/thread/Mutex.hxx
@@ -25,13 +25,12 @@
/* mingw-w64 4.6.3 lacks a std::mutex implementation */
#include "CriticalSection.hxx"
-typedef CriticalSection Mutex;
+class Mutex : public CriticalSection {};
#else
#include "PosixMutex.hxx"
-
-typedef PosixMutex Mutex;
+class Mutex : public PosixMutex {};
#endif