mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
fixup! hle: kernel: Migrate to KHandleTable.
This commit is contained in:
parent
34abe4a905
commit
2cdc7142b0
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ public:
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
ResultCode Add(Handle* out_handle, T* obj) {
|
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());
|
return this->Add(out_handle, obj, obj->GetTypeObj().GetClassToken());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue