summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvflinger/buffer_queue_core.cpp
diff options
context:
space:
mode:
authorMerry <git@mary.rs>2022-04-07 20:36:31 +0200
committerMerry <git@mary.rs>2022-04-07 20:44:07 +0200
commitd79274a5d973f6000e20df6261d7624c89cbff59 (patch)
tree03441e1c98ae9fe49a406b3d869a39262ae291a2 /src/core/hle/service/nvflinger/buffer_queue_core.cpp
parentyuzu/util: Replace lock_guard with scoped_lock (diff)
downloadyuzu-d79274a5d973f6000e20df6261d7624c89cbff59.tar
yuzu-d79274a5d973f6000e20df6261d7624c89cbff59.tar.gz
yuzu-d79274a5d973f6000e20df6261d7624c89cbff59.tar.bz2
yuzu-d79274a5d973f6000e20df6261d7624c89cbff59.tar.lz
yuzu-d79274a5d973f6000e20df6261d7624c89cbff59.tar.xz
yuzu-d79274a5d973f6000e20df6261d7624c89cbff59.tar.zst
yuzu-d79274a5d973f6000e20df6261d7624c89cbff59.zip
Diffstat (limited to 'src/core/hle/service/nvflinger/buffer_queue_core.cpp')
-rw-r--r--src/core/hle/service/nvflinger/buffer_queue_core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue_core.cpp b/src/core/hle/service/nvflinger/buffer_queue_core.cpp
index 3a0481786..ec5aabaeb 100644
--- a/src/core/hle/service/nvflinger/buffer_queue_core.cpp
+++ b/src/core/hle/service/nvflinger/buffer_queue_core.cpp
@@ -15,7 +15,7 @@ BufferQueueCore::BufferQueueCore() = default;
BufferQueueCore::~BufferQueueCore() = default;
void BufferQueueCore::NotifyShutdown() {
- std::scoped_lock lock(mutex);
+ std::scoped_lock lock{mutex};
is_shutting_down = true;