diff options
| author | David Marcec <dmarcecguzman@gmail.com> | 2020-07-18 14:24:32 +1000 |
|---|---|---|
| committer | David Marcec <dmarcecguzman@gmail.com> | 2020-07-18 14:24:32 +1000 |
| commit | 967307d3beb59b64e40c4b3f44ed839d87325e5c (patch) | |
| tree | 31c44595c797f29df24a3890fa9c26cd3f4c7332 /src/video_core/shader_notify.cpp | |
| parent | 4f473cda640eadc4c595a6286ef666d5f62d828e (diff) | |
Fix style issues
Diffstat (limited to 'src/video_core/shader_notify.cpp')
| -rw-r--r-- | src/video_core/shader_notify.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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++; } |
