VERY experimental Nintendo Switch 2 emulator
C++
k_priority_queue: Resolved reserved identifier
Lioncash4431b499d0f1
diff --git a/src/core/hle/kernel/k_priority_queue.h b/src/core/hle/kernel/k_priority_queue.hindex 13d628b85a..afaab98126 100644--- a/src/core/hle/kernel/k_priority_queue.h+++ b/src/core/hle/kernel/k_priority_queue.h@@ -55,7 +55,7 @@ concept KPriorityQueueMember = !std::is_reference_v<T> && requires(T & t) {->Common::ConvertibleTo<s32>;};-template <typename Member, size_t _NumCores, int LowestPriority, int HighestPriority>+template <typename Member, size_t NumCores_, int LowestPriority, int HighestPriority>requires KPriorityQueueMember<Member> class KPriorityQueue {public:using AffinityMaskType = typename std::remove_cv_t<@@ -65,7 +65,7 @@ public:static_assert(HighestPriority >= 0);static_assert(LowestPriority >= HighestPriority);static constexpr size_t NumPriority = LowestPriority - HighestPriority + 1;- static constexpr size_t NumCores = _NumCores;+ static constexpr size_t NumCores = NumCores_;static constexpr bool IsValidCore(s32 core) {return 0 <= core && core < static_cast<s32>(NumCores);