Skip to content

Commit

Permalink
revert removal of const
Browse files Browse the repository at this point in the history
  • Loading branch information
Walter Gray committed Nov 12, 2020
1 parent 67a4447 commit d4742be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/color.h
Original file line number Diff line number Diff line change
Expand Up @@ -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...));
}
Expand Down

0 comments on commit d4742be

Please sign in to comment.