Simplify locale handling
This commit is contained in:
1 parent
80c4d42c66
commit
ff92223549
6 files changed
+38
-51
No files matched your search
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user