mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 02:21:34 +08:00
fix compile error again with wchar formatting
This commit is contained in:
parent
d75fd2c7f9
commit
ffd813435a
@ -241,7 +241,7 @@ public:
|
||||
// format to wmemory_buffer and convert to utf8
|
||||
|
||||
fmt::wmemory_buffer wbuf;
|
||||
fmt::format_to(std::back_inserter(wbuf), fmt::runtime(fmt), std::forward<Args>(args)...);
|
||||
fmt::format_to(std::back_inserter(wbuf), fmt, std::forward<Args>(args)...);
|
||||
|
||||
memory_buf_t buf;
|
||||
details::os::wstr_to_utf8buf(wstring_view_t(wbuf.data(), wbuf.size()), buf);
|
||||
|
Loading…
Reference in New Issue
Block a user