diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2023-10-08 11:47:41 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2023-10-08 11:47:41 +0200 |
| commit | 1dc90e111a7f11f198b1bf327723d11cb018af32 (patch) | |
| tree | e2a12e076e16ac70e73b379a8f8ff26b864e77b7 /source | |
| parent | c5c80d7ed4aa8b3650b1a7185c433b2458f49717 (diff) | |
| download | teachos-1dc90e111a7f11f198b1bf327723d11cb018af32.tar.xz teachos-1dc90e111a7f11f198b1bf327723d11cb018af32.zip | |
x86_64: vga: reformat source code
Diffstat (limited to 'source')
| -rw-r--r-- | source/kernel/arch/x86_64/src/vga.cpp | 11 |
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 |
