Explorar el Código

fixup! hle: kernel: Migrate to KHandleTable.

bunnei hace 5 años
padre
commit
2cdc7142b0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/core/hle/kernel/k_handle_table.h

+ 1 - 1
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());
     }