aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/event.cpp')
-rw-r--r--OpenAL32/event.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenAL32/event.cpp b/OpenAL32/event.cpp
index f3474139..a2e3addd 100644
--- a/OpenAL32/event.cpp
+++ b/OpenAL32/event.cpp
@@ -37,14 +37,14 @@ static int EventThread(ALCcontext *context)
* ringbuffer's read offset at the end of scope.
*/
const struct EventAutoDestructor {
- AsyncEvent &evt;
- RingBuffer *ring;
+ AsyncEvent &evt_;
+ RingBuffer *ring_;
~EventAutoDestructor()
{
- evt.~AsyncEvent();
- ring->readAdvance(1);
+ evt_.~AsyncEvent();
+ ring_->readAdvance(1);
}
- } _{evt, context->AsyncEvents.get()};
+ } _{evt, ring};
quitnow = evt.EnumType == EventType_KillThread;
if(UNLIKELY(quitnow)) break;