Message ID | 20240119191353.269510-1-jwakely@redhat.com |
---|---|
State | New |
Headers | show |
Series | [committed] libstdc++: Do not use CTAD for _Utf32_view alias template (redux) | expand |
diff --git a/libstdc++-v3/include/std/format b/libstdc++-v3/include/std/format index efc4a17ba36..f4d91517656 100644 --- a/libstdc++-v3/include/std/format +++ b/libstdc++-v3/include/std/format @@ -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();