summaryrefslogtreecommitdiff
path: root/asl/print.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-01-26 00:40:51 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-01-26 00:42:44 +0100
commitcf7db48c261ee9c896c813a38ff8c59da5b8fe07 (patch)
tree41d827be5db5f3322d745215fe38a9c395a52fa3 /asl/print.hpp
parent79aaec3d7d12bc1a0483f19eadeda325a2d65920 (diff)
Fix line endings
Diffstat (limited to 'asl/print.hpp')
-rw-r--r--asl/print.hpp58
1 files changed, 29 insertions, 29 deletions
diff --git a/asl/print.hpp b/asl/print.hpp
index 208bcb2..283a311 100644
--- a/asl/print.hpp
+++ b/asl/print.hpp
@@ -1,29 +1,29 @@
-#pragma once
-
-#include "asl/format.hpp"
-
-namespace asl
-{
-
-namespace print_internals
-{
-
-// @Todo Make print writers thread safe
-Writer* get_stdout_writer();
-Writer* get_stderr_writer();
-
-} // namespace print_internals
-
-template<formattable... Args>
-void print(string_view fmt, const Args&... args)
-{
- format(print_internals::get_stdout_writer(), fmt, args...);
-}
-
-template<formattable... Args>
-void eprint(string_view fmt, const Args&... args)
-{
- format(print_internals::get_stderr_writer(), fmt, args...);
-}
-
-} // namespace asl
+#pragma once
+
+#include "asl/format.hpp"
+
+namespace asl
+{
+
+namespace print_internals
+{
+
+// @Todo Make print writers thread safe
+Writer* get_stdout_writer();
+Writer* get_stderr_writer();
+
+} // namespace print_internals
+
+template<formattable... Args>
+void print(string_view fmt, const Args&... args)
+{
+ format(print_internals::get_stdout_writer(), fmt, args...);
+}
+
+template<formattable... Args>
+void eprint(string_view fmt, const Args&... args)
+{
+ format(print_internals::get_stderr_writer(), fmt, args...);
+}
+
+} // namespace asl