* include/bits/basic_string.tcc (operator+): Fix thinko.

From-SVN: r40493
This commit is contained in:
Gabriel Dos Reis 2001-03-15 08:46:23 +00:00 committed by Gabriel Dos Reis
parent 285b923177
commit 15f13f01ed
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* include/bits/basic_string.tcc (operator+): Fix thinko.
2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2020

View File

@ -549,7 +549,7 @@ namespace std
__string_type __str;
__size_type __len = __rhs.size();
__str.reserve(__len + 1);
__str.append(__string_type::size_type(1), __lhs);
__str.append(__size_type(1), __lhs);
__str.append(__rhs);
return __str;
}