mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 00:38:18 -05:00
common: Replace lock_guard with scoped_lock
This commit is contained in:
@ -17,7 +17,7 @@ namespace Common {
|
||||
class Event {
|
||||
public:
|
||||
void Set() {
|
||||
std::lock_guard lk{mutex};
|
||||
std::scoped_lock lk{mutex};
|
||||
if (!is_set) {
|
||||
is_set = true;
|
||||
condvar.notify_one();
|
||||
|
Reference in New Issue
Block a user