diff options
author | Lioncash <mathew1800@gmail.com> | 2021-01-15 08:02:57 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-01-15 08:15:32 +0100 |
commit | 8620de6b2030bef35360d029354f672cde8978f1 (patch) | |
tree | ed1f105b1fef3fc9a5209c5106accaaee283ebf2 /src/core/hle/kernel/k_priority_queue.h | |
parent | Merge pull request #5354 from ReinUsesLisp/remove-common-color (diff) | |
download | yuzu-8620de6b2030bef35360d029354f672cde8978f1.tar yuzu-8620de6b2030bef35360d029354f672cde8978f1.tar.gz yuzu-8620de6b2030bef35360d029354f672cde8978f1.tar.bz2 yuzu-8620de6b2030bef35360d029354f672cde8978f1.tar.lz yuzu-8620de6b2030bef35360d029354f672cde8978f1.tar.xz yuzu-8620de6b2030bef35360d029354f672cde8978f1.tar.zst yuzu-8620de6b2030bef35360d029354f672cde8978f1.zip |
Diffstat (limited to 'src/core/hle/kernel/k_priority_queue.h')
-rw-r--r-- | src/core/hle/kernel/k_priority_queue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_priority_queue.h b/src/core/hle/kernel/k_priority_queue.h index 99fb8fe93..0dc929040 100644 --- a/src/core/hle/kernel/k_priority_queue.h +++ b/src/core/hle/kernel/k_priority_queue.h @@ -8,11 +8,11 @@ #pragma once #include <array> +#include <bit> #include <concepts> #include "common/assert.h" #include "common/bit_set.h" -#include "common/bit_util.h" #include "common/common_types.h" #include "common/concepts.h" @@ -268,7 +268,7 @@ private: } constexpr s32 GetNextCore(u64& affinity) { - const s32 core = Common::CountTrailingZeroes64(affinity); + const s32 core = std::countr_zero(affinity); ClearAffinityBit(affinity, core); return core; } |