From 1fc4d8bb70a8a4fb1fa2190f709ed82ae420f0c5 Mon Sep 17 00:00:00 2001 From: rbrugo Date: Mon, 7 Mar 2022 18:59:04 +0100 Subject: [PATCH] Change styled_arg ctor parameters names to avoid shadowing members --- include/fmt/color.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fmt/color.h b/include/fmt/color.h index 7fa83007..fb8af902 100644 --- a/include/fmt/color.h +++ b/include/fmt/color.h @@ -493,8 +493,8 @@ template inline void reset_color(buffer& buffer) { } template struct styled_arg { - FMT_CONSTEXPR styled_arg(Arg const& argument, text_style style) - : argument(argument), style(style) {} + FMT_CONSTEXPR styled_arg(Arg const& format_argument, text_style format_style) + : argument(format_argument), style(format_style) {} const Arg& argument; text_style style;