aboutsummaryrefslogtreecommitdiffstats
path: root/al/event.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-04-24 07:04:32 -0700
committerChris Robinson <[email protected]>2020-04-24 07:04:32 -0700
commitbe476c793574fcde7bb78df1595257cc52f4c93a (patch)
tree0bb49372446b21c8f159e73c4ad3223f383cff58 /al/event.h
parentf49238c79278bb019e618b23d9b86d2ba15f82c2 (diff)
Use global placement new for AsyncEvent
Diffstat (limited to 'al/event.h')
-rw-r--r--al/event.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/al/event.h b/al/event.h
index 9056d577..44d9306f 100644
--- a/al/event.h
+++ b/al/event.h
@@ -4,6 +4,8 @@
#include "AL/al.h"
#include "AL/alc.h"
+#include "almalloc.h"
+
struct EffectState;
@@ -46,6 +48,8 @@ struct AsyncEvent {
AsyncEvent() noexcept = default;
constexpr AsyncEvent(unsigned int type) noexcept : EnumType{type} { }
+
+ DISABLE_ALLOC()
};