Remove default for FormatContext also...

This commit is contained in:
John Eivind Helset 2022-06-23 19:25:26 +02:00
parent 0928604213
commit 62474f596f

View File

@ -80,7 +80,7 @@ template <typename Char> struct formatter<std::monostate, Char> {
return ctx.begin(); return ctx.begin();
} }
template <typename FormatContext = format_context> template <typename FormatContext>
auto format(const std::monostate&, FormatContext& ctx) const auto format(const std::monostate&, FormatContext& ctx) const
-> decltype(ctx.out()) { -> decltype(ctx.out()) {
auto out = ctx.out(); auto out = ctx.out();