summaryrefslogtreecommitdiff
path: root/src/events.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-05-06 15:41:43 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-05-06 15:41:43 +0200
commitb7b5b9ee2a9d6cefe9b83589122cedb89c22279c (patch)
treeb7953590423e616d1f61a8ae9a4a2a4ca154d9f5 /src/events.h
parent305bc5c31dde06afb3d867abd1b461a98c868a74 (diff)
Remove old (obsolete) Mutex class and replace all uses with std::mutex.
Diffstat (limited to 'src/events.h')
-rw-r--r--src/events.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/events.h b/src/events.h
index bbbb7ea..b0ca6cf 100644
--- a/src/events.h
+++ b/src/events.h
@@ -29,11 +29,12 @@
#include <map>
#include <stdio.h>
#include <string>
+#include <mutex>
+
#include <sndfile.h>
#include "audiofile.h"
#include "audio.h"
-#include "mutex.h"
#include "audiocache.h"
typedef unsigned int timepos_t;
@@ -105,6 +106,6 @@ public:
private:
std::multimap<timepos_t, Event*> queue;
- Mutex mutex;
+ std::mutex mutex;
};