Co-authored-by: summivox <summivox@github.com>
This commit is contained in:
parent
2a25e2bf4d
commit
1980ca8c4e
@ -423,7 +423,8 @@ template <typename Char> struct formatter<std::tm, Char> {
|
||||
}
|
||||
|
||||
template <typename FormatContext>
|
||||
auto format(const std::tm& tm, FormatContext& ctx) -> decltype(ctx.out()) {
|
||||
auto format(const std::tm& tm, FormatContext& ctx) const
|
||||
-> decltype(ctx.out()) {
|
||||
basic_memory_buffer<Char> tm_format;
|
||||
tm_format.append(specs.begin(), specs.end());
|
||||
tm_format.push_back('\0');
|
||||
|
Loading…
Reference in New Issue
Block a user