Added const specifier to memory map argument

This commit is contained in:
2020-12-09 05:07:58 -06:00
parent 11813469f7
commit 231d6c4464
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ kernel::BuddyAllocator::BuddyAllocator()
} }
kernel::BuddyAllocator::BuddyAllocator(kernel::MemoryMap& memmap, kernel::BuddyAllocator::BuddyAllocator(const kernel::MemoryMap& memmap,
char* bitmap, size_t blockCount, char* bitmap, size_t blockCount,
size_t treeHeight) size_t treeHeight)
{ {

View File

@@ -57,7 +57,7 @@ public:
BuddyAllocator(); BuddyAllocator();
BuddyAllocator(MemoryMap& memmap, char* bitmap, size_t blockCount, BuddyAllocator(const MemoryMap& memmap, char* bitmap, size_t blockCount,
size_t treeHeight); size_t treeHeight);
BuddyAllocator(char* bitmap, size_t blockSize, size_t blockCount, BuddyAllocator(char* bitmap, size_t blockSize, size_t blockCount,