Skip to content

Commit

Permalink
Changed writeBytes to write for file_name
Browse files Browse the repository at this point in the history
  • Loading branch information
felix642 committed Nov 30, 2023
1 parent d2204a8 commit ebd76ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/std.h
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ struct formatter<std::source_location> {
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<char>());
out = detail::write(out, loc.file_name());
out = detail::write(out, ':');
out = detail::write<char>(out, loc.line());
out = detail::write(out, ':');
Expand Down

0 comments on commit ebd76ae

Please sign in to comment.