mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 03:40:36 +08:00
libstdc++: Add std qualification on isxdigit calls
Those qualifications are needed in _GLIBCXX_INLINE_VERSION mode because in <cctype> symbols are not put in versioned namespace. libstdc++-v3/ChangeLog * include/std/format: Add std qualification on isxdigit calls.
This commit is contained in:
parent
1ad735dbfc
commit
a16a546044
@ -1537,7 +1537,7 @@ namespace __format
|
||||
|
||||
if (__trailing_zeros)
|
||||
{
|
||||
if (!isxdigit(__s[0]))
|
||||
if (!std::isxdigit(__s[0]))
|
||||
--__sigfigs;
|
||||
__z = __prec - __sigfigs;
|
||||
}
|
||||
@ -1627,7 +1627,7 @@ namespace __format
|
||||
{
|
||||
__fill_char = _CharT('0');
|
||||
// Write sign before zero filling.
|
||||
if (!isxdigit(__narrow_str[0]))
|
||||
if (!std::isxdigit(__narrow_str[0]))
|
||||
{
|
||||
*__out++ = __str[0];
|
||||
__str.remove_prefix(1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user