libstdc++: Fix default mode of new basic_stringstream constructor [PR 97719]
authorJonathan Wakely <jwakely@redhat.com>
Wed, 4 Nov 2020 21:44:05 +0000 (21:44 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 4 Nov 2020 23:41:02 +0000 (23:41 +0000)
commit8f565d255a3157828e45f8b9844b3d156193c182
tree7975fb8b31b158ab124387d4e749724150a25499
parent4d76079fdfa3d36ebd95ac8b489519945e8ee88f
libstdc++: Fix default mode of new basic_stringstream constructor [PR 97719]

libstdc++-v3/ChangeLog:

PR libstdc++/97719
* include/std/sstream (basic_stringstream(string_type&&, openmode)):
Fix default argument.
* testsuite/27_io/basic_stringstream/cons/char/97719.cc: New test.
libstdc++-v3/include/std/sstream
libstdc++-v3/testsuite/27_io/basic_stringstream/cons/char/97719.cc [new file with mode: 0644]