From be476c793574fcde7bb78df1595257cc52f4c93a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 24 Apr 2020 07:04:32 -0700 Subject: Use global placement new for AsyncEvent --- al/event.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'al/event.h') 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() }; -- cgit v1.2.3