summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-01 21:50:35 +0200
committerbunnei <bunneidev@gmail.com>2021-05-06 01:40:54 +0200
commit2cdc7142b0a3489205bdb0e0c7862aeec2a98c5a (patch)
treebb7281a1664e8cf43447a417b6c0f982a7215643 /src/core
parentfixup! hle: kernel: Migrate KPort, KClientPort, and KServerPort to KAutoObject. (diff)
downloadyuzu-2cdc7142b0a3489205bdb0e0c7862aeec2a98c5a.tar
yuzu-2cdc7142b0a3489205bdb0e0c7862aeec2a98c5a.tar.gz
yuzu-2cdc7142b0a3489205bdb0e0c7862aeec2a98c5a.tar.bz2
yuzu-2cdc7142b0a3489205bdb0e0c7862aeec2a98c5a.tar.lz
yuzu-2cdc7142b0a3489205bdb0e0c7862aeec2a98c5a.tar.xz
yuzu-2cdc7142b0a3489205bdb0e0c7862aeec2a98c5a.tar.zst
yuzu-2cdc7142b0a3489205bdb0e0c7862aeec2a98c5a.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/k_handle_table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_handle_table.h b/src/core/hle/kernel/k_handle_table.h
index adce899c3..8a08bdbdc 100644
--- a/src/core/hle/kernel/k_handle_table.h
+++ b/src/core/hle/kernel/k_handle_table.h
@@ -107,7 +107,7 @@ public:
template <typename T>
ResultCode Add(Handle* out_handle, T* obj) {
- static_assert(std::is_base_o_vf<KAutoObject, T>);
+ static_assert(std::is_base_of_v<KAutoObject, T>);
return this->Add(out_handle, obj, obj->GetTypeObj().GetClassToken());
}