From 969dcce51a526b244f0fcb9997920c1a11b56fa4 Mon Sep 17 00:00:00 2001 From: Walter Gray Date: Thu, 12 Nov 2020 14:24:32 -0800 Subject: [PATCH] revert removal of const --- include/fmt/color.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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...)); }