summaryrefslogtreecommitdiff
path: root/src/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mutex.h')
-rw-r--r--src/mutex.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/mutex.h b/src/mutex.h
index 92c9f53..8c71733 100644
--- a/src/mutex.h
+++ b/src/mutex.h
@@ -45,14 +45,11 @@ private:
#ifdef WIN32
// Hack: mingw doesn't have std::mutex
namespace std {
- class mutex
- : public Mutex {
-// public:
-// bool try_lock()
-// {
-// return trylock();
-// }
- };
+class mutex
+ : public Mutex {
+public:
+ bool try_lock();
+};
}
#endif