File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ class SPDLOG_API logger
369
369
{
370
370
memory_buf_t buf;
371
371
#ifdef SPDLOG_USE_STD_FORMAT
372
- fmt_lib::vformat_to (std::back_inserter (buf), fmt, fmt_lib::make_format_args (std::forward<Args>( args) ...));
372
+ fmt_lib::vformat_to (std::back_inserter (buf), fmt, fmt_lib::make_format_args (args...));
373
373
#else
374
374
fmt::vformat_to (fmt::appender (buf), fmt, fmt::make_format_args (args...));
375
375
#endif
@@ -395,7 +395,7 @@ class SPDLOG_API logger
395
395
// format to wmemory_buffer and convert to utf8
396
396
wmemory_buf_t wbuf;
397
397
fmt_lib::vformat_to (
398
- std::back_inserter (wbuf), fmt, fmt_lib::make_format_args<fmt_lib::wformat_context>(std::forward<Args>( args) ...));
398
+ std::back_inserter (wbuf), fmt, fmt_lib::make_format_args<fmt_lib::wformat_context>(args...));
399
399
400
400
memory_buf_t buf;
401
401
details::os::wstr_to_utf8buf (wstring_view_t (wbuf.data (), wbuf.size ()), buf);
You can’t perform that action at this time.
0 commit comments