From bb95c10727d4a5b9f8226462ed1bee15a71fd33c Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 31 Aug 2026 09:21:51 +0200 Subject: chore: minor stylistic cleanups --- arch/x86_64/arch/memory/region_allocator.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'arch') diff --git a/arch/x86_64/arch/memory/region_allocator.cpp b/arch/x86_64/arch/memory/region_allocator.cpp index 4086a10b..ece492f3 100644 --- a/arch/x86_64/arch/memory/region_allocator.cpp +++ b/arch/x86_64/arch/memory/region_allocator.cpp @@ -20,8 +20,7 @@ namespace arch::memory return kapi::memory::frame::containing(kapi::memory::physical_address{region.base + region.size_in_B - 1}); } - constexpr auto falls_within(kapi::memory::frame const & candidate, kapi::memory::frame const & start, - kapi::memory::frame const & end) + constexpr auto falls_within(kapi::memory::frame candidate, kapi::memory::frame start, kapi::memory::frame end) { return candidate >= start && candidate <= end; } -- cgit v1.2.3