From 967307d3beb59b64e40c4b3f44ed839d87325e5c Mon Sep 17 00:00:00 2001 From: David Marcec Date: Sat, 18 Jul 2020 14:24:32 +1000 Subject: Fix style issues --- src/video_core/shader_notify.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/video_core/shader_notify.cpp') diff --git a/src/video_core/shader_notify.cpp b/src/video_core/shader_notify.cpp index 46fd0baae..c3c71657d 100644 --- a/src/video_core/shader_notify.cpp +++ b/src/video_core/shader_notify.cpp @@ -25,17 +25,17 @@ std::size_t ShaderNotify::GetShadersBuilding() { } std::size_t ShaderNotify::GetShadersBuildingAccurate() { - std::shared_lock lock(mutex); + std::shared_lock lock{mutex}; return accurate_count; } void ShaderNotify::MarkShaderComplete() { - std::unique_lock lock(mutex); + std::unique_lock lock{mutex}; accurate_count--; } void ShaderNotify::MarkSharderBuilding() { - std::unique_lock lock(mutex); + std::unique_lock lock{mutex}; accurate_count++; } -- cgit v1.2.3