]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix mingw build by using _M_span [PR119970]
authorTomasz Kamiński <tkaminsk@redhat.com>
Mon, 28 Apr 2025 06:53:59 +0000 (08:53 +0200)
committerTomasz Kamiński <tkaminsk@redhat.com>
Mon, 28 Apr 2025 09:03:50 +0000 (11:03 +0200)
commit1be88e43f3e93e85bef9499de905fa72d8596e7d
tree2ea5a451655666603e0d14b86c509607e5f654ba
parent4794340cd257ece0d197f041812c34c5ac5d50a1
libstdc++: Fix mingw build by using _M_span [PR119970]

The r16-142-g01e5ef3e8b9128 chagned return type of _Str_sink::view()
to basic_string_view<_CharT>. The mutable access is provided by _M_span
function, that is now used for mingw path.

PR libstdc++/119970

libstdc++-v3/ChangeLog:

* include/std/ostream (vprint_unicode) [_WIN32 && !__CYGWIN__]: Call
_Str_sink::_M_span instead of view.
* include/std/print (vprint_unicode) [_WIN32 && !__CYGWIN__]: Call
_Str_sink::_M_span instead of view.
libstdc++-v3/include/std/ostream
libstdc++-v3/include/std/print