summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMerry <git@mary.rs>2022-04-07 20:32:59 +0200
committerMerry <git@mary.rs>2022-04-07 20:44:07 +0200
commit47786561100e0f730be4d89a64fe2946c2f22869 (patch)
tree540e05d1d7db93a04c79c9647798e2a1047eb418
parentweb_service: Replace lock_guard with scoped_lock (diff)
downloadyuzu-47786561100e0f730be4d89a64fe2946c2f22869.tar
yuzu-47786561100e0f730be4d89a64fe2946c2f22869.tar.gz
yuzu-47786561100e0f730be4d89a64fe2946c2f22869.tar.bz2
yuzu-47786561100e0f730be4d89a64fe2946c2f22869.tar.lz
yuzu-47786561100e0f730be4d89a64fe2946c2f22869.tar.xz
yuzu-47786561100e0f730be4d89a64fe2946c2f22869.tar.zst
yuzu-47786561100e0f730be4d89a64fe2946c2f22869.zip
-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
}
void ControllerNavigation::ControllerUpdateEvent(Core::HID::ControllerTriggerType type) {
- std::lock_guard lock{mutex};
+ std::scoped_lock lock{mutex};
if (!Settings::values.controller_navigation) {
return;
}