aboutsummaryrefslogtreecommitdiffstats
path: root/al/event.cpp
diff options
context:
space:
mode:
authorDerek Henderson <[email protected]>2022-01-17 07:29:23 -0800
committerGitHub <[email protected]>2022-01-17 07:29:23 -0800
commit9eab53c9a2849b399c5ed0766d4d7e0cf5119aef (patch)
tree3cbcfa96a484adb4f7c5bdb72c3cf3f6218d211d /al/event.cpp
parent481b115b96608fdd8f3178a2b7d7c0f3d3f06b69 (diff)
Fixed compiler warning (#640)
Diffstat (limited to 'al/event.cpp')
-rw-r--r--al/event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/event.cpp b/al/event.cpp
index 5daa2739..e5923c43 100644
--- a/al/event.cpp
+++ b/al/event.cpp
@@ -201,7 +201,7 @@ START_API_FUNC
/* Wait to ensure the event handler sees the changed flags before
* returning.
*/
- std::lock_guard<std::mutex>{context->mEventCbLock};
+ std::lock_guard<std::mutex> _{context->mEventCbLock};
}
}
END_API_FUNC