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 | 833b9e5fb8877f71ad222ca6596b9da23d33db38 (patch) | |
| tree | 540e05d1d7db93a04c79c9647798e2a1047eb418 /src/yuzu/util/controller_navigation.cpp | |
| parent | 41af59a6cb9ee02cd240ef56017f61534dfe3072 (diff) | |
yuzu/util: Replace lock_guard with scoped_lock
Diffstat (limited to 'src/yuzu/util/controller_navigation.cpp')
| -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 c2b13123d3..9a1868cae7 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; } |
