From d6d809db87750a1e47d7a2a2d3f5e2d59d94f146 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 14 May 2019 08:18:44 -0400 Subject: 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. --- src/video_core/gpu_thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video_core/gpu_thread.h') diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h index cc14527c7..cdf86f562 100644 --- a/src/video_core/gpu_thread.h +++ b/src/video_core/gpu_thread.h @@ -109,7 +109,7 @@ struct SynchState final { void TrySynchronize() { if (IsSynchronized()) { - std::lock_guard lock{synchronization_mutex}; + std::lock_guard lock{synchronization_mutex}; synchronization_condition.notify_one(); } } -- cgit v1.2.3