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:
parent
e3d688e79a
commit
5bc39d363a
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user