revert removal of const
This commit is contained in:
parent
67a4447fe3
commit
969dcce51a
@ -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...));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user