projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
163e9f9
)
(operator>>): Correct cast in last patch.
author
Ulrich Drepper
<drepper@gcc.gnu.org>
Mon, 30 Nov 1998 09:40:56 +0000
(09:40 +0000)
committer
Ulrich Drepper
<drepper@gcc.gnu.org>
Mon, 30 Nov 1998 09:40:56 +0000
(09:40 +0000)
(getline): Likewise.
From-SVN: r24011
libstdc++/std/bastring.cc
patch
|
blob
|
history
diff --git
a/libstdc++/std/bastring.cc
b/libstdc++/std/bastring.cc
index 4ecef59e3df6418866455ecfcac924c658ce4cfe..3093b9e129d3ed5b280e868534bb44e2ecbc56c6 100644
(file)
--- a/
libstdc++/std/bastring.cc
+++ b/
libstdc++/std/bastring.cc
@@
-450,7
+450,7
@@
operator>> (istream &is, basic_string <charT, traits, Allocator> &s)
sb->sungetc ();
break;
}
- s += static_cast<char> (ch);
+ s += static_cast<char
T
> (ch);
if (--w == 1)
break;
}
@@
-496,7
+496,7
@@
getline (istream &is, basic_string <charT, traits, Allocator>& s, charT delim)
if (ch == delim)
break;
- s += static_cast<char> (ch);
+ s += static_cast<char
T
> (ch);
if (s.length () == s.npos - 1)
{