mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-17 19:09:46 +08:00
* include/bits/basic_string.tcc (operator+): Fix thinko.
From-SVN: r40493
This commit is contained in:
parent
285b923177
commit
15f13f01ed
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user