[v3] libstdc++/40518 backport fix to 4.4 branch
Jonathan Wakely
jwakely.gcc@gmail.com
Sat Apr 10 13:44:00 GMT 2010
2010-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
Backport:
2009-06-23 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/40518
* include/bits/basic_string.h (basic_string<>::_Rep::
_M_set_length_and_sharable): Do not write the empty rep.
(basic_string<>::erase(iterator, iterator)): Likewise,
move out of line...
* include/bits/basic_string.tcc: ... here.
Tested x86_64/Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr40518.patch
Type: application/octet-stream
Size: 2912 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20100410/c06af0cf/attachment.obj>
More information about the Libstdc++
mailing list