Fixed implicit conversion to str in c_formatter

This commit is contained in:
gabime 2018-10-16 00:12:54 +03:00
parent 275167d1b0
commit 815b52b8fb
1 changed files with 2 additions and 2 deletions

View File

@ -123,9 +123,9 @@ class c_formatter final : public flag_formatter
// fmt::format_to(dest, "{} {} {} ", days[tm_time.tm_wday],
// months[tm_time.tm_mon], tm_time.tm_mday);
// date
fmt_helper::append_str(days[tm_time.tm_wday], dest);
fmt_helper::append_c_str(days[tm_time.tm_wday], dest);
dest.push_back(' ');
fmt_helper::append_str(months[tm_time.tm_mon], dest);
fmt_helper::append_c_str(months[tm_time.tm_mon], dest);
dest.push_back(' ');
fmt_helper::append_int(tm_time.tm_mday, dest);
dest.push_back(' ');