diff options
author | Merry <git@mary.rs> | 2022-04-07 19:32:59 +0100 |
---|---|---|
committer | Merry <git@mary.rs> | 2022-04-07 19:44:07 +0100 |
commit | 47786561100e0f730be4d89a64fe2946c2f22869 (patch) | |
tree | 540e05d1d7db93a04c79c9647798e2a1047eb418 /src/yuzu/util | |
parent | 3cf65933429ba658b05e0aa2bf27552cc4d6f648 (diff) |
yuzu/util: Replace lock_guard with scoped_lock
Diffstat (limited to 'src/yuzu/util')
-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; } |