diff --git a/src/core/hle/kernel/k_class_token.cpp b/src/core/hle/kernel/k_class_token.cpp index 6eb44d6a62..a850db3c47 100644 --- a/src/core/hle/kernel/k_class_token.cpp +++ b/src/core/hle/kernel/k_class_token.cpp @@ -120,6 +120,6 @@ static_assert(std::is_final_v && std::is_base_of_v && // std::is_base_of_v); -static_assert(std::is_base_of::value); +static_assert(std::is_base_of_v); } // namespace Kernel diff --git a/src/core/hle/kernel/k_handle_table.h b/src/core/hle/kernel/k_handle_table.h index e98a01c86f..65cae3b275 100644 --- a/src/core/hle/kernel/k_handle_table.h +++ b/src/core/hle/kernel/k_handle_table.h @@ -74,7 +74,7 @@ public: KScopedDisableDispatch dd{m_kernel}; KScopedSpinLock lk(m_lock); - if constexpr (std::is_same::value) { + if constexpr (std::is_same_v) { return this->GetObjectImpl(handle); } else { if (auto* obj = this->GetObjectImpl(handle); obj != nullptr) [[likely]] {