diff options
| author | 2021-05-01 12:50:35 -0700 | |
|---|---|---|
| committer | 2021-05-05 16:40:54 -0700 | |
| commit | 2cdc7142b0a3489205bdb0e0c7862aeec2a98c5a (patch) | |
| tree | bb7281a1664e8cf43447a417b6c0f982a7215643 /src | |
| parent | fixup! hle: kernel: Migrate KPort, KClientPort, and KServerPort to KAutoObject. (diff) | |
| download | yuzu-2cdc7142b0a3489205bdb0e0c7862aeec2a98c5a.tar.gz yuzu-2cdc7142b0a3489205bdb0e0c7862aeec2a98c5a.tar.xz yuzu-2cdc7142b0a3489205bdb0e0c7862aeec2a98c5a.zip | |
fixup! hle: kernel: Migrate to KHandleTable.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/kernel/k_handle_table.h | 2 |
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: | |||
| 107 | 107 | ||
| 108 | template <typename T> | 108 | template <typename T> |
| 109 | ResultCode Add(Handle* out_handle, T* obj) { | 109 | ResultCode Add(Handle* out_handle, T* obj) { |
| 110 | static_assert(std::is_base_o_vf<KAutoObject, T>); | 110 | static_assert(std::is_base_of_v<KAutoObject, T>); |
| 111 | return this->Add(out_handle, obj, obj->GetTypeObj().GetClassToken()); | 111 | return this->Add(out_handle, obj, obj->GetTypeObj().GetClassToken()); |
| 112 | } | 112 | } |
| 113 | 113 | ||