aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/MidiAction.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/MidiAction.hpp')
-rw-r--r--src/engine/MidiAction.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/engine/MidiAction.hpp b/src/engine/MidiAction.hpp
index a2d8dda..729ac59 100644
--- a/src/engine/MidiAction.hpp
+++ b/src/engine/MidiAction.hpp
@@ -18,7 +18,8 @@
#ifndef MACHINA_MIDIACTION_HPP
#define MACHINA_MIDIACTION_HPP
-#include "raul/AtomicPtr.hpp"
+#include <atomic>
+
#include "raul/TimeSlice.hpp"
#include "machina/types.hpp"
@@ -47,9 +48,9 @@ public:
private:
- size_t _size;
- const size_t _max_size;
- Raul::AtomicPtr<byte> _event;
+ size_t _size;
+ const size_t _max_size;
+ std::atomic<byte*> _event;
};
} // namespace Machina