public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4111] libstdc++: Fix dumb typos in ALT128 support in <format> [PR107720]
@ 2022-11-16 20:59 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-11-16 20:59 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:dbdce6adb748b95be219f2f5fb97f844a0f9b840

commit r13-4111-gdbdce6adb748b95be219f2f5fb97f844a0f9b840
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Nov 16 20:47:39 2022 +0000

    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.

Diff:
---
 libstdc++-v3/include/std/format | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libstdc++-v3/include/std/format b/libstdc++-v3/include/std/format
index 995b05c2ab2..1afcd042bc2 100644
--- a/libstdc++-v3/include/std/format
+++ b/libstdc++-v3/include/std/format
@@ -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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-16 20:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-16 20:59 [gcc r13-4111] libstdc++: Fix dumb typos in ALT128 support in <format> [PR107720] Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).