diff --git a/include/fmt/ostream.h b/include/fmt/ostream.h index 597316d8..72ba1da0 100644 --- a/include/fmt/ostream.h +++ b/include/fmt/ostream.h @@ -110,7 +110,8 @@ void format_value(buffer& buf, const T& value, template struct fallback_formatter::value>> : private formatter, Char> { - auto parse(basic_format_parse_context& ctx) -> decltype(ctx.begin()) { + FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx) + -> decltype(ctx.begin()) { return formatter, Char>::parse(ctx); } template