diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2025-03-17 09:38:39 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2025-03-17 09:38:39 +0000 |
| commit | c56a8a74bc4e9662469db33a85c12586f202985a (patch) | |
| tree | 997056e9b2ef88af673856a2c2f017b3aa73723b /arch/x86_64/src/kernel/main.cpp | |
| parent | 1658665ff3343382bc2af14ea87642aec544a606 (diff) | |
| download | teachos-c56a8a74bc4e9662469db33a85c12586f202985a.tar.xz teachos-c56a8a74bc4e9662469db33a85c12586f202985a.zip | |
Fix issue in vector
Diffstat (limited to 'arch/x86_64/src/kernel/main.cpp')
| -rw-r--r-- | arch/x86_64/src/kernel/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/src/kernel/main.cpp b/arch/x86_64/src/kernel/main.cpp index c1e134a..da6d6d3 100644 --- a/arch/x86_64/src/kernel/main.cpp +++ b/arch/x86_64/src/kernel/main.cpp @@ -60,7 +60,7 @@ namespace teachos::arch::kernel heap_test(); - auto global_descriptor_table = context_switching::descriptor_table::initialize_global_descriptor_table(); + decltype(auto) global_descriptor_table = context_switching::descriptor_table::initialize_global_descriptor_table(); (void)global_descriptor_table.at(1); video::vga::text::write("GDT FILLED", video::vga::text::common_attributes::green_on_black); } |
