Deconstexprify exception formatter

This commit is contained in:
Victor Zverovich 2026-05-31 08:24:38 -07:00
parent 029d543768
commit a823ba0699

View File

@ -635,7 +635,7 @@ struct formatter<
}
template <typename Context>
FMT_CONSTEXPR auto format(const std::exception& ex, Context& ctx) const
auto format(const std::exception& ex, Context& ctx) const
-> decltype(ctx.out()) {
auto out = ctx.out();
#if FMT_USE_RTTI