sso_string_base.h (__sso_string_base<>::_M_swap): Change the various traits_type...
authorPaolo Carlini <pcarlini@suse.de>
Thu, 3 Nov 2005 13:13:21 +0000 (13:13 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 3 Nov 2005 13:13:21 +0000 (13:13 +0000)
commitf9c4ee6d100ed11255aa7177c3b8c1a25150b1c4
tree8e4ed692c702645120b2a07f7a39c193cad8b679
parent02f1d17cccdf7feac9e7a6515934b396c82e2b02
sso_string_base.h (__sso_string_base<>::_M_swap): Change the various traits_type::copy call to always copy the entire local buffer...

2005-11-03  Paolo Carlini  <pcarlini@suse.de>

* include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
Change the various traits_type::copy call to always copy the
entire local buffer; return early and don't do a full swap on
the lengths for two common cases; change two _S_copy to plain
traits_type::copy.

From-SVN: r106431
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/sso_string_base.h