From: Luc Grosheintz Date: Tue, 14 Oct 2025 15:16:55 +0000 (+0200) Subject: libstdc++: Remove unused local type alias . X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec331001eaa1e42c6ff9536fa51aeaf2a1c86a6a;p=thirdparty%2Fgcc.git libstdc++: Remove unused local type alias . 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 0 Signed-off-by: Luc Grosheintz --- diff --git a/libstdc++-v3/include/std/format b/libstdc++-v3/include/std/format index 8ba6af6bd40..1102ac8f6e8 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);