mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-11 07:18:12 -05: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