aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_page_heap.cpp
diff options
context:
space:
mode:
authorarades79 <scravers@protonmail.com>2023-02-14 11:13:47 -0500
committerarades79 <scravers@protonmail.com>2023-02-14 12:35:39 -0500
commit683019878fc939b418a65e1c5d84b066596d7655 (patch)
tree6b2a2e8ea34cb00a3fccf3613a52475550997035 /src/core/hle/kernel/k_page_heap.cpp
parent26e44a3be4d5d7299c5b38e5d521957fd856e134 (diff)
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
Diffstat (limited to 'src/core/hle/kernel/k_page_heap.cpp')
-rw-r--r--src/core/hle/kernel/k_page_heap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_page_heap.cpp b/src/core/hle/kernel/k_page_heap.cpp
index ffebf0a35..7b02c7d8b 100644
--- a/src/core/hle/kernel/k_page_heap.cpp
+++ b/src/core/hle/kernel/k_page_heap.cpp
@@ -68,7 +68,7 @@ PAddr KPageHeap::AllocateByRandom(s32 index, size_t num_pages, size_t align_page
const size_t align_shift = std::countr_zero(align_size);
// Decide on a block to allocate from.
- constexpr static size_t MinimumPossibleAlignmentsForRandomAllocation = 4;
+ constexpr size_t MinimumPossibleAlignmentsForRandomAllocation = 4;
{
// By default, we'll want to look at all blocks larger than our current one.
s32 max_blocks = static_cast<s32>(m_num_blocks);