From 9d484f876a0f806c8ef0564348e317c99b24ff61 Mon Sep 17 00:00:00 2001 From: Greg Sjaardema Date: Mon, 7 Mar 2022 14:32:14 -0700 Subject: [PATCH] Eliminate intel compiler warnings The intel compiler emits `declaration hides parameter "loc" ..." and similar warnings for "out" and "args" since the function arguments are the same as other visible symbols. This is for intel-2021.3.0 20210609. --- include/fmt/format.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index d71715498d8c..ca9da512ee40 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -3150,9 +3150,9 @@ void vformat_to( basic_format_parse_context parse_context; buffer_context context; - format_handler(buffer_appender out, basic_string_view str, - basic_format_args> args, locale_ref loc) - : parse_context(str), context(out, args, loc) {} + format_handler(buffer_appender p_out, basic_string_view str, + basic_format_args> p_args, locale_ref p_loc) + : parse_context(str), context(p_out, p_args, p_loc) {} void on_text(const Char* begin, const Char* end) { auto text = basic_string_view(begin, to_unsigned(end - begin));