From f5ce71793e1d60fdecd641484038a1436c161905 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 21 Nov 2018 18:22:24 -0500 Subject: kernel/handle_table: Default destructor in the cpp file We don't need to potentially inline the teardown logic of all of the handle instances. --- src/core/hle/kernel/handle_table.cpp | 2 ++ src/core/hle/kernel/handle_table.h | 1 + 2 files changed, 3 insertions(+) (limited to 'src') diff --git a/src/core/hle/kernel/handle_table.cpp b/src/core/hle/kernel/handle_table.cpp index 5ee5c05e3..9f2b996c4 100644 --- a/src/core/hle/kernel/handle_table.cpp +++ b/src/core/hle/kernel/handle_table.cpp @@ -18,6 +18,8 @@ HandleTable::HandleTable() { Clear(); } +HandleTable::~HandleTable() = default; + ResultVal HandleTable::Create(SharedPtr obj) { DEBUG_ASSERT(obj != nullptr); diff --git a/src/core/hle/kernel/handle_table.h b/src/core/hle/kernel/handle_table.h index 9e2f33e8a..b5e5f6545 100644 --- a/src/core/hle/kernel/handle_table.h +++ b/src/core/hle/kernel/handle_table.h @@ -43,6 +43,7 @@ enum KernelHandle : Handle { class HandleTable final : NonCopyable { public: HandleTable(); + ~HandleTable(); /** * Allocates a handle for the given object. -- cgit v1.2.3