From 5dd79736c53c9ff362114c0e688133cd70a09847 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 16 Mar 2019 13:19:58 +0100 Subject: [PATCH] Kernel: Remove the one client of Vector-with-custom-allocator. This was a silly experiment. If I want to save space here, I can do it in one of many other ways. --- Kernel/i386.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/i386.cpp b/Kernel/i386.cpp index e4dd426095..4feb155e26 100644 --- a/Kernel/i386.cpp +++ b/Kernel/i386.cpp @@ -22,7 +22,7 @@ static Descriptor* s_gdt; static IRQHandler** s_irq_handler; -static Vector* s_gdt_freelist; +static Vector* s_gdt_freelist; static word s_gdtLength; @@ -345,7 +345,7 @@ void gdt_init() s_gdt = static_cast(kmalloc_eternal(sizeof(Descriptor) * 256)); s_gdtLength = 5; - s_gdt_freelist = new Vector(); + s_gdt_freelist = new Vector(); s_gdt_freelist->ensure_capacity(256); for (size_t i = s_gdtLength; i < 256; ++i) s_gdt_freelist->append(i * 8);