diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index dac2d437a41a..553e7ce88d4b 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -1445,8 +1445,7 @@ FMT_FUNC bool write_console(std::FILE* f, string_view text) { // Print assuming legacy (non-Unicode) encoding. FMT_FUNC void vprint_mojibake(std::FILE* f, string_view fmt, format_args args) { auto buffer = memory_buffer(); - detail::vformat_to(buffer, fmt, - basic_format_args>(args)); + detail::vformat_to(buffer, fmt, args); fwrite_fully(buffer.data(), 1, buffer.size(), f); } #endif