diff options
Diffstat (limited to 'al/event.cpp')
-rw-r--r-- | al/event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/al/event.cpp b/al/event.cpp index 2c5fa539..d28ef01b 100644 --- a/al/event.cpp +++ b/al/event.cpp @@ -143,7 +143,7 @@ void StopEventThrd(ALCcontext *ctx) evt_data = ring->getWriteVector().first; } while(evt_data.len == 0); } - ::new(evt_data.buf) AsyncEvent{EventType_KillThread}; + al::construct_at(reinterpret_cast<AsyncEvent*>(evt_data.buf), EventType_KillThread); ring->writeAdvance(1); ctx->mEventSem.post(); |