Unverified Commit 26c1ca4c authored by Pavel Novikov's avatar Pavel Novikov Committed by GitHub

Replaced default spec with equivalent one, which is potentially more optimizable (#2537)

parent 1e865b35
...@@ -534,9 +534,7 @@ struct formatter<std::chrono::time_point<std::chrono::system_clock, Duration>, ...@@ -534,9 +534,7 @@ struct formatter<std::chrono::time_point<std::chrono::system_clock, Duration>,
return formatter<std::tm, Char>::format(time, ctx); return formatter<std::tm, Char>::format(time, ctx);
} }
static constexpr Char default_specs[] = {'%', 'Y', '-', '%', 'm', '-', static constexpr Char default_specs[] = {'%', 'F', ' ', '%', 'T'};
'%', 'd', ' ', '%', 'H', ':',
'%', 'M', ':', '%', 'S'};
}; };
template <typename Char, typename Duration> template <typename Char, typename Duration>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment