From cf7db48c261ee9c896c813a38ff8c59da5b8fe07 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Sun, 26 Jan 2025 00:40:51 +0100 Subject: Fix line endings --- asl/print.hpp | 58 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'asl/print.hpp') 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 -void print(string_view fmt, const Args&... args) -{ - format(print_internals::get_stdout_writer(), fmt, args...); -} - -template -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 +void print(string_view fmt, const Args&... args) +{ + format(print_internals::get_stdout_writer(), fmt, args...); +} + +template +void eprint(string_view fmt, const Args&... args) +{ + format(print_internals::get_stderr_writer(), fmt, args...); +} + +} // namespace asl -- cgit