Commit 15f13f01 by Gabriel Dos Reis Committed by Gabriel Dos Reis

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

From-SVN: r40493
parent 285b9231
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment