diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-11-30 12:54:10 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-11-30 23:10:03 +0000 |
commit | 675afa21244d58640876da3287d303e376a3b59a (patch) | |
tree | 7391a3e9a81328161eba6ad3da42aeef96fa18d3 /gcc | |
parent | 56b07badf052fb140c4636f6d77cfc02d1ac357c (diff) | |
download | gcc-675afa21244d58640876da3287d303e376a3b59a.zip gcc-675afa21244d58640876da3287d303e376a3b59a.tar.gz gcc-675afa21244d58640876da3287d303e376a3b59a.tar.bz2 |
libstdc++: Fix fully-dynamic-string build
My last change to the fully-dynamic-string actually broke it. This fixes
the move constructor so it builds, and simplifies it slightly so that
more code is common between the fully-dynamic enabled/disabled cases.
libstdc++-v3/ChangeLog:
* include/bits/cow_string.h (basic_string(basic_string&&)): Fix
mem-initializer for _GLIBCXX_FULLY_DYNAMIC_STRING==0 case.
* testsuite/21_strings/basic_string/cons/char/noexcept_move_construct.cc:
Remove outdated comment.
* testsuite/21_strings/basic_string/cons/wchar_t/noexcept_move_construct.cc:
Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions