From: Gabriel Dos Reis Date: Thu, 15 Mar 2001 08:46:23 +0000 (+0000) Subject: * include/bits/basic_string.tcc (operator+): Fix thinko. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15f13f01ed9ae3203dfbcf6ee0b452731dd43950;p=gcc.git * include/bits/basic_string.tcc (operator+): Fix thinko. From-SVN: r40493 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3fefaa56a01..1b80bf75d49 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2001-03-15 Gabriel Dos Reis + + * include/bits/basic_string.tcc (operator+): Fix thinko. + 2001-03-14 Benjamin Kosnik libstdc++/2020 diff --git a/libstdc++-v3/include/bits/basic_string.tcc b/libstdc++-v3/include/bits/basic_string.tcc index ef26ea3c9fa..7c74b674710 100644 --- a/libstdc++-v3/include/bits/basic_string.tcc +++ b/libstdc++-v3/include/bits/basic_string.tcc @@ -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; }