diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index 6228204c..77a7a37f 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -451,9 +451,7 @@ FMT_END_DETAIL_NAMESPACE template struct formatter, Char> : formatter { - FMT_CONSTEXPR formatter() { - this->specs = {default_specs, 17}; - } + FMT_CONSTEXPR formatter() { this->specs = {default_specs, 17}; } template FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { @@ -473,8 +471,8 @@ struct formatter, } static constexpr Char default_specs[] = {'%', 'Y', '-', '%', 'm', '-', - '%', 'd', ' ', '%', 'H', ':', - '%', 'M', ':', '%', 'S'}; + '%', 'd', ' ', '%', 'H', ':', + '%', 'M', ':', '%', 'S'}; }; template