aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_handle_table.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-02-02 12:12:22 -0500
committerLioncash <mathew1800@gmail.com>2022-02-02 12:17:08 -0500
commit76d83ffbece12d9509c5cc753dd6c69d8abeb458 (patch)
treed514d72b25ccea9a7405bd36e8caf7a79da4d909 /src/core/hle/kernel/k_handle_table.h
parent72add82ee99bdf43d655bf33c005da1002f0e650 (diff)
general: Move deleted copy/move constructor/assignment operators to public interface
This allows for better compiler errors, where the compiler will state a copy or move couldn't occur due to the relevant function being deleted. Previously a compiler would warn about the relevant function not being accessible (which, while true, isn't as informative as it could be).
Diffstat (limited to 'src/core/hle/kernel/k_handle_table.h')
-rw-r--r--src/core/hle/kernel/k_handle_table.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_handle_table.h b/src/core/hle/kernel/k_handle_table.h
index 4b114ec2f..87004a0f9 100644
--- a/src/core/hle/kernel/k_handle_table.h
+++ b/src/core/hle/kernel/k_handle_table.h
@@ -22,13 +22,12 @@ namespace Kernel {
class KernelCore;
class KHandleTable {
+public:
YUZU_NON_COPYABLE(KHandleTable);
YUZU_NON_MOVEABLE(KHandleTable);
-public:
static constexpr size_t MaxTableSize = 1024;
-public:
explicit KHandleTable(KernelCore& kernel_);
~KHandleTable();