From e524def8c068bcd4660410117a13241e175afc9b Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 19 Mar 2022 22:09:46 -0700 Subject: hle: nvflinger: buffer_queue_core: Declare default dtor. --- src/core/hle/service/nvflinger/buffer_queue_core.cpp | 2 ++ src/core/hle/service/nvflinger/buffer_queue_core.h | 1 + 2 files changed, 3 insertions(+) (limited to 'src/core/hle/service/nvflinger') diff --git a/src/core/hle/service/nvflinger/buffer_queue_core.cpp b/src/core/hle/service/nvflinger/buffer_queue_core.cpp index 3f1ce78b0..eb93b43ee 100644 --- a/src/core/hle/service/nvflinger/buffer_queue_core.cpp +++ b/src/core/hle/service/nvflinger/buffer_queue_core.cpp @@ -16,6 +16,8 @@ BufferQueueCore::BufferQueueCore() : lock{mutex, std::defer_lock} { } } +BufferQueueCore::~BufferQueueCore() = default; + void BufferQueueCore::NotifyShutdown() { std::unique_lock lk(mutex); diff --git a/src/core/hle/service/nvflinger/buffer_queue_core.h b/src/core/hle/service/nvflinger/buffer_queue_core.h index ad10b4c3c..a3cd89f1c 100644 --- a/src/core/hle/service/nvflinger/buffer_queue_core.h +++ b/src/core/hle/service/nvflinger/buffer_queue_core.h @@ -32,6 +32,7 @@ public: static constexpr s32 INVALID_BUFFER_SLOT = BufferItem::INVALID_BUFFER_SLOT; BufferQueueCore(); + ~BufferQueueCore(); void NotifyShutdown(); -- cgit v1.2.3