Skip to content

Commit 90fb839

Browse files
committed
[UCRT] Fix shadowing template parameters
1 parent 482f318 commit 90fb839

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

sdk/lib/ucrt/inc/corecrt_internal_stdio_output.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,26 +1580,26 @@ class positional_parameter_base
15801580
return true;
15811581
}
15821582

1583-
template <typename Character>
1584-
static bool __cdecl is_pointer_specifier(Character const specifier) throw()
1583+
template <typename Character2>
1584+
static bool __cdecl is_pointer_specifier(Character2 const specifier) throw()
15851585
{
15861586
return specifier == 'p';
15871587
}
15881588

1589-
template <typename Character>
1590-
static bool __cdecl is_string_specifier(Character const specifier) throw()
1589+
template <typename Character2>
1590+
static bool __cdecl is_string_specifier(Character2 const specifier) throw()
15911591
{
15921592
return specifier == 's' || specifier == 'S';
15931593
}
15941594

1595-
template <typename Character>
1596-
static bool __cdecl is_character_specifier(Character const specifier) throw()
1595+
template <typename Character2>
1596+
static bool __cdecl is_character_specifier(Character2 const specifier) throw()
15971597
{
15981598
return specifier == 'c' || specifier == 'C';
15991599
}
16001600

1601-
template <typename Character>
1602-
static bool __cdecl is_integral_specifier(Character const specifier) throw()
1601+
template <typename Character2>
1602+
static bool __cdecl is_integral_specifier(Character2 const specifier) throw()
16031603
{
16041604
return specifier == 'd' || specifier == 'i' || specifier == 'o'
16051605
|| specifier == 'u' || specifier == 'x' || specifier == 'X'

0 commit comments

Comments
 (0)