revert removal of const

This commit is contained in:
Walter Gray 2020-11-12 14:24:32 -08:00
parent 67a4447fe3
commit 969dcce51a

View File

@ -578,7 +578,7 @@ inline std::basic_string<Char> vformat(
*/
template <typename S, typename... Args, typename Char = char_t<S>>
inline std::basic_string<Char> 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<Args...>(format_str, args...));
}