From 15f13f01ed9ae3203dfbcf6ee0b452731dd43950 Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Thu, 15 Mar 2001 08:46:23 +0000 Subject: [PATCH] * include/bits/basic_string.tcc (operator+): Fix thinko. From-SVN: r40493 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/include/bits/basic_string.tcc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; } -- 2.30.2