libstdc++: Fix syntax error in old-glibc case in floating_from_chars.cc [PR107562]
PR libstdc++/107562 * src/c++17/floating_from_chars.cc (from_chars_impl): Fix syntax error.
This commit is contained in:
parent
431be04b8b
commit
8d0326943e
1 changed files with 1 additions and 1 deletions
|
@ -632,7 +632,7 @@ namespace
|
|||
{
|
||||
#ifndef _GLIBCXX_HAVE_FLOAT128_MATH
|
||||
if (&__strtof128 == nullptr)
|
||||
tmpval = _Float128(std::strtold(str, &endptr);
|
||||
tmpval = _Float128(std::strtold(str, &endptr));
|
||||
else
|
||||
#endif
|
||||
tmpval = __strtof128(str, &endptr);
|
||||
|
|
Loading…
Add table
Reference in a new issue