aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-14 08:18:44 -0400
committerLioncash <mathew1800@gmail.com>2019-05-14 08:18:48 -0400
commitd6d809db87750a1e47d7a2a2d3f5e2d59d94f146 (patch)
tree1bd68b545096dd9c07d03e619343d5d23ec3a8fe /src/video_core/gpu_thread.h
parentc4d549919fbcae062d7bfc6ecb4162fdbcf858f4 (diff)
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.
Diffstat (limited to 'src/video_core/gpu_thread.h')
-rw-r--r--src/video_core/gpu_thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h
index cc14527c79..cdf86f562b 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<std::mutex> lock{synchronization_mutex};
+ std::lock_guard lock{synchronization_mutex};
synchronization_condition.notify_one();
}
}