diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3fefaa56a014..1b80bf75d49f 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 ef26ea3c9fa5..7c74b6747103 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; }