From a66e687475b33bddb855e66c11d994bf6190a72c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 30 Nov 1998 09:40:56 +0000 Subject: (operator>>): Correct cast in last patch. (getline): Likewise. From-SVN: r24011 --- libstdc++/std/bastring.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libstdc++/std/bastring.cc') diff --git a/libstdc++/std/bastring.cc b/libstdc++/std/bastring.cc index 4ecef59..3093b9e1 100644 --- a/libstdc++/std/bastring.cc +++ b/libstdc++/std/bastring.cc @@ -450,7 +450,7 @@ operator>> (istream &is, basic_string &s) sb->sungetc (); break; } - s += static_cast (ch); + s += static_cast (ch); if (--w == 1) break; } @@ -496,7 +496,7 @@ getline (istream &is, basic_string & s, charT delim) if (ch == delim) break; - s += static_cast (ch); + s += static_cast (ch); if (s.length () == s.npos - 1) { -- cgit v1.1