mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-02-19 19:31:16 +00:00
yuzu: Remove explicit types from locks where applicable
With C++17's deduction guides, the type doesn't need to be explicitly specified within locking primitives anymore.
This commit is contained in:
@@ -109,7 +109,7 @@ struct SynchState final {
|
||||
|
||||
void TrySynchronize() {
|
||||
if (IsSynchronized()) {
|
||||
std::lock_guard<std::mutex> lock{synchronization_mutex};
|
||||
std::lock_guard lock{synchronization_mutex};
|
||||
synchronization_condition.notify_one();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user