libstdc++: Fix dumb typos in ALT128 support in <format> [PR107720]
This is only a partial fix for the PR. libstdc++-v3/ChangeLog: PR libstdc++/107720 * include/std/format (__format::_Arg_t): Fix typo in enumerator name. (_Arg_value::_S_get): Fix missing semi-colons.
This commit is contained in:
parent
629897ed80
commit
dbdce6adb7
1 changed files with 3 additions and 3 deletions
|
@ -2578,7 +2578,7 @@ namespace __format
|
|||
#ifdef _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT
|
||||
_Arg_next_value_,
|
||||
_Arg_f128 = _Arg_ldbl,
|
||||
_Arg_ibm128 = _Args_next_value_,
|
||||
_Arg_ibm128 = _Arg_next_value_,
|
||||
#else
|
||||
_Arg_f128,
|
||||
#endif
|
||||
|
@ -2916,9 +2916,9 @@ namespace __format
|
|||
#else
|
||||
// Don't use _Arg_ldbl for this target, it's ambiguous.
|
||||
else if constexpr (is_same_v<_Tp, __ibm128>)
|
||||
return _Arg_ibm128
|
||||
return _Arg_ibm128;
|
||||
else if constexpr (is_same_v<_Tp, __ieee128>)
|
||||
return _Arg_f128
|
||||
return _Arg_f128;
|
||||
#endif
|
||||
else if constexpr (is_same_v<_Tp, const _CharT*>)
|
||||
return _Arg_str;
|
||||
|
|
Loading…
Add table
Reference in a new issue