diff --git a/include/fmt/std.h b/include/fmt/std.h index e01dcd88..b686d0e1 100644 --- a/include/fmt/std.h +++ b/include/fmt/std.h @@ -89,9 +89,9 @@ inline void write_escaped_path( FMT_EXPORT template struct formatter - : formatter> { + : formatter, Char> { template FMT_CONSTEXPR auto parse(ParseContext& ctx) { - auto out = formatter>::parse(ctx); + auto out = formatter, Char>::parse(ctx); this->set_debug_format(false); return out; } @@ -100,7 +100,7 @@ struct formatter typename FormatContext::iterator { auto quoted = basic_memory_buffer(); detail::write_escaped_path(quoted, p); - return formatter>::format( + return formatter, Char>::format( basic_string_view(quoted.data(), quoted.size()), ctx); } };