aboutsummaryrefslogtreecommitdiff
path: root/kapi/src
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-10-29 15:01:43 +0100
committerFelix Morgner <felix.morgner@ost.ch>2025-10-29 15:01:43 +0100
commitb157e2c472d8bd67ac1656404a6a6ee821260f4b (patch)
tree9c4ebaee21c9ad3521f86c543dc1f29906305baa /kapi/src
parentc2b0bdfe3b725166f16c742cdaca7969052df382 (diff)
downloadteachos-b157e2c472d8bd67ac1656404a6a6ee821260f4b.tar.xz
teachos-b157e2c472d8bd67ac1656404a6a6ee821260f4b.zip
chore: reformat source code
Diffstat (limited to 'kapi/src')
-rw-r--r--kapi/src/cio.cpp20
1 files changed, 16 insertions, 4 deletions
diff --git a/kapi/src/cio.cpp b/kapi/src/cio.cpp
index aa26d49..e8490e9 100644
--- a/kapi/src/cio.cpp
+++ b/kapi/src/cio.cpp
@@ -18,12 +18,24 @@ namespace teachos::cio
return std::exchange(active_device, &device);
}
- auto print(std::string_view text) -> void { active_device->write(text); }
+ auto print(std::string_view text) -> void
+ {
+ active_device->write(text);
+ }
- auto println(std::string_view text) -> void { active_device->writeln(text); }
+ auto println(std::string_view text) -> void
+ {
+ active_device->writeln(text);
+ }
- auto print_error(std::string_view text) -> void { active_device->write_error(text); }
+ auto print_error(std::string_view text) -> void
+ {
+ active_device->write_error(text);
+ }
- auto println_error(std::string_view text) -> void { active_device->writeln_error(text); }
+ auto println_error(std::string_view text) -> void
+ {
+ active_device->writeln_error(text);
+ }
} // namespace teachos::cio \ No newline at end of file