From 1a4387d137acb57f69a2b5d073faf55d4a4c32ed Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 27 Dec 2018 12:55:43 -0800 Subject: Return unique_ptrs instead of raw pointers For the ring buffer, channel converter, and sample converter. --- Alc/alc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/alc.cpp') diff --git a/Alc/alc.cpp b/Alc/alc.cpp index 9a93fbdc..1b3692e2 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -2369,7 +2369,7 @@ static ALvoid InitContext(ALCcontext *Context) listener.Params.mDistanceModel = Context->mDistanceModel; - Context->AsyncEvents.reset(ll_ringbuffer_create(511, sizeof(AsyncEvent), false)); + Context->AsyncEvents = CreateRingBuffer(511, sizeof(AsyncEvent), false); StartEventThrd(Context); } -- cgit v1.2.3