From 64f721d4e7d45fdf8965f641ef1ebed25cd5acc4 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Sun, 6 Apr 2025 15:56:55 -0500 Subject: Remove FormatCharMode from fud::format. --- source/fud_print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/fud_print.cpp') diff --git a/source/fud_print.cpp b/source/fud_print.cpp index 6b7bac1..65041e9 100644 --- a/source/fud_print.cpp +++ b/source/fud_print.cpp @@ -45,7 +45,7 @@ DrainResult StdOutSink::drain(StringView source) FormatResult print(FormatString fmt) { StdOutSink outSink{}; - return format(outSink, FormatCharMode::Unchecked, fmt); + return outSink.drain(fmt.view()); } } // namespace fud -- cgit v1.2.3