Eliminate intel compiler warnings (#2802)

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.
This commit is contained in:
Greg Sjaardema 2022-03-07 16:34:33 -07:00 committed by GitHub
parent e3d688e79a
commit 5bc39d363a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3150,9 +3150,9 @@ void vformat_to(
basic_format_parse_context<Char> parse_context; basic_format_parse_context<Char> parse_context;
buffer_context<Char> context; buffer_context<Char> context;
format_handler(buffer_appender<Char> out, basic_string_view<Char> str, format_handler(buffer_appender<Char> p_out, basic_string_view<Char> str,
basic_format_args<buffer_context<Char>> args, locale_ref loc) basic_format_args<buffer_context<Char>> p_args, locale_ref p_loc)
: parse_context(str), context(out, args, loc) {} : parse_context(str), context(p_out, p_args, p_loc) {}
void on_text(const Char* begin, const Char* end) { void on_text(const Char* begin, const Char* end) {
auto text = basic_string_view<Char>(begin, to_unsigned(end - begin)); auto text = basic_string_view<Char>(begin, to_unsigned(end - begin));