diff options
Diffstat (limited to 'src/server/BufferFactory.hpp')
-rw-r--r-- | src/server/BufferFactory.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/server/BufferFactory.hpp b/src/server/BufferFactory.hpp index fc9c5515..3bbc542e 100644 --- a/src/server/BufferFactory.hpp +++ b/src/server/BufferFactory.hpp @@ -19,9 +19,7 @@ #include <atomic> #include <map> - -#undef nil -#include <glibmm/thread.h> +#include <mutex> #include "ingen/Forge.hpp" #include "ingen/URIs.hpp" @@ -88,7 +86,7 @@ private: std::atomic<Buffer*> _free_sequence; std::atomic<Buffer*> _free_object; - Glib::Mutex _mutex; + std::mutex _mutex; Engine& _engine; URIs& _uris; uint32_t _seq_size; |