diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index bcc8d6e1..a871511b 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -239,7 +239,7 @@ public: SPDLOG_TRY { // format to wmemory_buffer and convert to utf8 - fmt::wmemory_buffer wbuf; + wmemory_buf_t wbuf; fmt::format_to(std::back_inserter(wbuf), fmt, std::forward(args)...); memory_buf_t buf;