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 | 578f84cdf4f7683ead94149ea435f124e2028203 (patch) | |
| tree | 31c44595c797f29df24a3890fa9c26cd3f4c7332 /src/video_core/shader_notify.cpp | |
| parent | 3a127edd0b3583a6e2bfc36caab4f04986848ba9 (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 46fd0baae2..c3c71657d9 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++; } |
