mirror of
https://github.com/fmtlib/fmt.git
synced 2026-06-15 08:26:13 +08:00
Deconstexprify exception formatter
This commit is contained in:
parent
029d543768
commit
a823ba0699
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user