diff options
author | Merry <git@mary.rs> | 2022-04-07 20:32:59 +0200 |
---|---|---|
committer | Merry <git@mary.rs> | 2022-04-07 20:44:07 +0200 |
commit | 47786561100e0f730be4d89a64fe2946c2f22869 (patch) | |
tree | 540e05d1d7db93a04c79c9647798e2a1047eb418 | |
parent | web_service: Replace lock_guard with scoped_lock (diff) | |
download | yuzu-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.cpp | 2 |
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; } |