mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Fix fmt build (#2744)
This commit is contained in:
parent
ea1af20840
commit
62a4b8ce4e
@ -371,7 +371,7 @@ protected:
|
||||
#ifdef SPDLOG_USE_STD_FORMAT
|
||||
fmt_lib::vformat_to(std::back_inserter(buf), fmt, fmt_lib::make_format_args(std::forward<Args>(args)...));
|
||||
#else
|
||||
fmt::vformat_to(fmt::appender(buf), fmt, fmt::make_format_args(std::forward<Args>(args)...));
|
||||
fmt::vformat_to(fmt::appender(buf), fmt, fmt::make_format_args(args...));
|
||||
#endif
|
||||
|
||||
details::log_msg log_msg(loc, name_, lvl, string_view_t(buf.data(), buf.size()));
|
||||
|
Loading…
Reference in New Issue
Block a user