reformat file
This commit is contained in:
parent
6ab8616075
commit
972be9bd44
@ -451,9 +451,7 @@ FMT_END_DETAIL_NAMESPACE
|
|||||||
template <typename Char, typename Duration>
|
template <typename Char, typename Duration>
|
||||||
struct formatter<std::chrono::time_point<std::chrono::system_clock, Duration>,
|
struct formatter<std::chrono::time_point<std::chrono::system_clock, Duration>,
|
||||||
Char> : formatter<std::tm, Char> {
|
Char> : formatter<std::tm, Char> {
|
||||||
FMT_CONSTEXPR formatter() {
|
FMT_CONSTEXPR formatter() { this->specs = {default_specs, 17}; }
|
||||||
this->specs = {default_specs, 17};
|
|
||||||
}
|
|
||||||
|
|
||||||
template <typename ParseContext>
|
template <typename ParseContext>
|
||||||
FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {
|
FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {
|
||||||
@ -473,8 +471,8 @@ struct formatter<std::chrono::time_point<std::chrono::system_clock, Duration>,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static constexpr Char default_specs[] = {'%', 'Y', '-', '%', 'm', '-',
|
static constexpr Char default_specs[] = {'%', 'Y', '-', '%', 'm', '-',
|
||||||
'%', 'd', ' ', '%', 'H', ':',
|
'%', 'd', ' ', '%', 'H', ':',
|
||||||
'%', 'M', ':', '%', 'S'};
|
'%', 'M', ':', '%', 'S'};
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename Char, typename Duration>
|
template <typename Char, typename Duration>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user