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

commit r16-4424-gec331001eaa1e42c6ff9536fa51aeaf2a1c86a6a
Author: Luc Grosheintz <[email protected]>
Date:   Tue Oct 14 17:16:55 2025 +0200

    libstdc++: Remove unused local type alias <format>.
    
    After r16-4421-g59cabe08b57a26 the local type alias _String isn't used
    anymore and therefore causes warnings when building the tests with
    `-Wall -Wextra`.
    
    libstdc++-v3/ChangeLog:
    
            * include/std/format (_M_format_range): Remove unused local type
            alias _String.
    
    Reviewed-by: Tomasz KamiƄski <[email protected]>0
    Signed-off-by: Luc Grosheintz <[email protected]>

Diff:
---
 libstdc++-v3/include/std/format | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libstdc++-v3/include/std/format b/libstdc++-v3/include/std/format
index 8ba6af6bd405..1102ac8f6e8a 100644
--- a/libstdc++-v3/include/std/format
+++ b/libstdc++-v3/include/std/format
@@ -1426,7 +1426,6 @@ namespace __format
        _M_format_range(_Rg&& __rg, basic_format_context<_Out, _CharT>& __fc) 
const
        {
          using _Range = remove_reference_t<_Rg>;
-         using _String = basic_string<_CharT>;
          using _String_view = basic_string_view<_CharT>;
          if constexpr (!is_lvalue_reference_v<_Rg>)
            return _M_format_range<_Range&>(__rg, __fc);

Reply via email to