From 807fef63ebcdd35a0ba63e58d189d5e00f6c1332 Mon Sep 17 00:00:00 2001 From: bartoszek Date: Tue, 6 Jul 2021 19:04:12 +0200 Subject: [PATCH] Update fmt version 8.0 Backport upstream changes https://github.com/gabime/spdlog/commit/8bf718671a9eac5517c27a5ffe72089b7f426d8c --- deps/spdlog-1.8.0/include/spdlog/common-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/spdlog-1.8.0/include/spdlog/common-inl.h b/deps/spdlog-1.8.0/include/spdlog/common-inl.h index be0d8f8ea..4e5a09cb9 100644 --- a/deps/spdlog-1.8.0/include/spdlog/common-inl.h +++ b/deps/spdlog-1.8.0/include/spdlog/common-inl.h @@ -54,7 +54,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); }