summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Merry2022-04-07 19:32:59 +0100
committerGravatar Merry2022-04-07 19:44:07 +0100
commit47786561100e0f730be4d89a64fe2946c2f22869 (patch)
tree540e05d1d7db93a04c79c9647798e2a1047eb418
parentweb_service: Replace lock_guard with scoped_lock (diff)
downloadyuzu-47786561100e0f730be4d89a64fe2946c2f22869.tar.gz
yuzu-47786561100e0f730be4d89a64fe2946c2f22869.tar.xz
yuzu-47786561100e0f730be4d89a64fe2946c2f22869.zip
yuzu/util: Replace lock_guard with scoped_lock
Diffstat (limited to '')
-rw-r--r--src/yuzu/util/controller_navigation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/util/controller_navigation.cpp b/src/yuzu/util/controller_navigation.cpp
index c2b13123d..9a1868cae 100644
--- a/src/yuzu/util/controller_navigation.cpp
+++ b/src/yuzu/util/controller_navigation.cpp
@@ -39,7 +39,7 @@ void ControllerNavigation::TriggerButton(Settings::NativeButton::Values native_b
39} 39}
40 40
41void ControllerNavigation::ControllerUpdateEvent(Core::HID::ControllerTriggerType type) { 41void ControllerNavigation::ControllerUpdateEvent(Core::HID::ControllerTriggerType type) {
42 std::lock_guard lock{mutex}; 42 std::scoped_lock lock{mutex};
43 if (!Settings::values.controller_navigation) { 43 if (!Settings::values.controller_navigation) {
44 return; 44 return;
45 } 45 }