diff --git a/include/fmt/color.h b/include/fmt/color.h index 42eaf718..42008f51 100644 --- a/include/fmt/color.h +++ b/include/fmt/color.h @@ -578,7 +578,7 @@ inline std::basic_string vformat( */ template > inline std::basic_string format(const text_style& ts, const S& format_str, - Args&&... args) { + const Args&... args) { return vformat(ts, to_string_view(format_str), fmt::make_args_checked(format_str, args...)); }