diff --git a/include/fmt/os.h b/include/fmt/os.h index 2126424d39cb..f3e81cfcf072 100644 --- a/include/fmt/os.h +++ b/include/fmt/os.h @@ -419,7 +419,7 @@ class FMT_API ostream { output to the file. */ template void print(format_string fmt, T&&... args) { - vformat_to(detail::buffer_appender(buffer_), fmt, + vformat_to(std::back_inserter(buffer_), fmt, fmt::make_format_args(args...)); } };