From ebd76ae1dcf9327608a8c7a777718e0761f586eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix-Antoine=20Constantin?= Date: Thu, 30 Nov 2023 12:52:10 -0500 Subject: [PATCH] Changed writeBytes to write for file_name --- include/fmt/std.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/std.h b/include/fmt/std.h index f97e97c9..2427e8c8 100644 --- a/include/fmt/std.h +++ b/include/fmt/std.h @@ -245,7 +245,7 @@ struct formatter { auto format(const std::source_location& loc, FormatContext& ctx) const -> decltype(ctx.out()) { auto out = ctx.out(); - out = detail::write_bytes(out, loc.file_name(), format_specs()); + out = detail::write(out, loc.file_name()); out = detail::write(out, ':'); out = detail::write(out, loc.line()); out = detail::write(out, ':');