1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:08:10 +00:00

Coding style fixes in AK.

This commit is contained in:
Andreas Kling 2019-01-19 22:53:05 +01:00
parent b413e234e1
commit b75ee4aacb
12 changed files with 126 additions and 126 deletions

View file

@ -29,7 +29,7 @@ word gdt_alloc_entry()
{
ASSERT(s_gdt_freelist);
ASSERT(!s_gdt_freelist->is_empty());
return s_gdt_freelist->takeLast();
return s_gdt_freelist->take_last();
}
void gdt_free_entry(word entry)
@ -323,7 +323,7 @@ void gdt_init()
s_gdtLength = 5;
s_gdt_freelist = new Vector<word, KmallocEternalAllocator>();
s_gdt_freelist->ensureCapacity(256);
s_gdt_freelist->ensure_capacity(256);
for (size_t i = s_gdtLength; i < 256; ++i)
s_gdt_freelist->append(i * 8);