Change styled_arg ctor parameters names to avoid shadowing members
This commit is contained in:
parent
406accd17e
commit
1fc4d8bb70
@ -493,8 +493,8 @@ template <typename Char> inline void reset_color(buffer<Char>& buffer) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <typename Arg> struct styled_arg {
|
template <typename Arg> struct styled_arg {
|
||||||
FMT_CONSTEXPR styled_arg(Arg const& argument, text_style style)
|
FMT_CONSTEXPR styled_arg(Arg const& format_argument, text_style format_style)
|
||||||
: argument(argument), style(style) {}
|
: argument(format_argument), style(format_style) {}
|
||||||
|
|
||||||
const Arg& argument;
|
const Arg& argument;
|
||||||
text_style style;
|
text_style style;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user