aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/kernel/arch/x86_64/src/vga.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/source/kernel/arch/x86_64/src/vga.cpp b/source/kernel/arch/x86_64/src/vga.cpp
index 2ddd1d8..efa2848 100644
--- a/source/kernel/arch/x86_64/src/vga.cpp
+++ b/source/kernel/arch/x86_64/src/vga.cpp
@@ -3,8 +3,8 @@
#include "boot/asm_pointer.hpp"
#include "boot/pointers.hpp"
-#include <string_view>
#include <algorithm>
+#include <string_view>
namespace teachos::kernel::vga
{
@@ -21,10 +21,9 @@ namespace teachos::kernel::vga
};
} // namespace
- auto write(std::string_view text, std::byte color) -> void {
- std::ranges::for_each(text, [&](auto character) {
- write(character, color);
- });
+ auto write(std::string_view text, std::byte color) -> void
+ {
+ std::ranges::for_each(text, [&](auto character) { write(character, color); });
}
-} // namespace teachos::kernel \ No newline at end of file
+} // namespace teachos::kernel::vga \ No newline at end of file