Simplify locale handling

This commit is contained in:
Victor Zverovich committed 2024-09-22 10:21:19 -07:00
1 parent 80c4d42c66
commit ff92223549
6 files changed
+38 -51

No files matched your search

+2 -2
View File
@@ -433,8 +433,8 @@ template <> struct formatter<std::error_code> {
}
template <typename FormatContext>
FMT_CONSTEXPR20 auto format(const std::error_code& ec, FormatContext& ctx) const
-> decltype(ctx.out()) {
FMT_CONSTEXPR20 auto format(const std::error_code& ec,
FormatContext& ctx) const -> decltype(ctx.out()) {
auto specs = specs_;
detail::handle_dynamic_spec(specs.dynamic_width(), specs.width, width_ref_,
ctx);