From 31e6e5810115726158f86ca1dc75ef01eb08aeea Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 4 Feb 2021 14:57:36 -0500 Subject: k_priority_queue: Simplify affinity mask type alias We can make use of the _t variants of the templates to cut down on a little bit of verbosity. --- src/core/hle/kernel/k_priority_queue.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/hle/kernel') diff --git a/src/core/hle/kernel/k_priority_queue.h b/src/core/hle/kernel/k_priority_queue.h index afaab9812..103dafd48 100644 --- a/src/core/hle/kernel/k_priority_queue.h +++ b/src/core/hle/kernel/k_priority_queue.h @@ -58,8 +58,8 @@ concept KPriorityQueueMember = !std::is_reference_v && requires(T & t) { template requires KPriorityQueueMember class KPriorityQueue { public: - using AffinityMaskType = typename std::remove_cv_t< - typename std::remove_reference().GetAffinityMask())>::type>; + using AffinityMaskType = std::remove_cv_t< + std::remove_reference_t().GetAffinityMask())>>; static_assert(LowestPriority >= 0); static_assert(HighestPriority >= 0); -- cgit v1.2.3