summaryrefslogtreecommitdiffstats
path: root/ingen/Store.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ingen/Store.hpp')
-rw-r--r--ingen/Store.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/ingen/Store.hpp b/ingen/Store.hpp
index 33a7f2ea..4856ff4e 100644
--- a/ingen/Store.hpp
+++ b/ingen/Store.hpp
@@ -18,9 +18,7 @@
#define INGEN_STORE_HPP
#include <map>
-
-#undef nil
-#include <glibmm/thread.h>
+#include <mutex>
#include "raul/Deletable.hpp"
#include "raul/Noncopyable.hpp"
@@ -72,10 +70,10 @@ public:
const Raul::Symbol& symbol,
bool allow_zero=true);
- Glib::RWLock& lock() { return _lock; }
+ std::mutex& mutex() { return _mutex; }
private:
- Glib::RWLock _lock;
+ std::mutex _mutex;
};
} // namespace Ingen