libstdc++: Do not use CTAD for _Utf32_view alias template (redux)

My change in r14-8181-g665a3ff1539ce2 was incomplete as there's a second
place using CTAD with the _Utf32_view alias template. This fixes it.

libstdc++-v3/ChangeLog:

	* include/std/format (_Spec::_M_parse_fill_and_align): Do not
	use CTAD for _Utf32_view.
This commit is contained in:
Jonathan Wakely 2024-01-19 14:31:48 +00:00
parent 502a3c03e4
commit 631a922e5c

View file

@ -434,7 +434,7 @@ namespace __format
if constexpr (__literal_encoding_is_unicode<_CharT>())
{
// Accept any UCS scalar value as fill character.
_Utf32_view __uv(ranges::subrange(__first, __last));
_Utf32_view<ranges::subrange<iterator>> __uv({__first, __last});
if (!__uv.empty())
{
auto __beg = __uv.begin();