Update fmt version 8.0

This commit is contained in:
gabime
2021-06-24 13:22:02 +03:00
parent c858b14c03
commit 8bf718671a
15 changed files with 5055 additions and 5448 deletions

View File

@@ -56,7 +56,7 @@ SPDLOG_INLINE spdlog_ex::spdlog_ex(std::string msg)
SPDLOG_INLINE spdlog_ex::spdlog_ex(const std::string &msg, int last_errno)
{
memory_buf_t outbuf;
fmt::format_system_error(outbuf, last_errno, msg);
fmt::format_system_error(outbuf, last_errno, msg.c_str());
msg_ = fmt::to_string(outbuf);
}