diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 02807298..f81ea483 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -229,7 +229,7 @@ using wmemory_buf_t = std::wstring; template using wformat_string_t = std::wstring_view; # endif - +# define SPDLOG_BUF_TO_STRING(x) x #else // use fmt lib instead of std::format namespace fmt_lib = fmt;