summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/istream.tcc
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-27 13:13:19 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-27 13:13:19 +0000
commit5823669ff4311850ff0e5e0d2f91bfd4d6556993 (patch)
treec4f7959860d4d931d25bdf463d4e76f43b1b39fa /libstdc++-v3/include/bits/istream.tcc
parent37cb33b05440d81e5d5bd9a937d5bbef50350b62 (diff)
downloadgcc-5823669ff4311850ff0e5e0d2f91bfd4d6556993.tar.gz
2003-11-27 Paolo Carlini <pcarlini@suse.de>
* include/std/std_streambuf.h (__copy_streambufs): Remove the first, unused, basic_ios<> parameter. * src/streambuf-inst.cc: Likewise. * include/bits/streambuf.tcc: Likewise. * include/bits/istream.tcc (operator>>(__streambuf_type*)): Tweak accordingly the call. * include/bits/ostream.tcc (operator<<(__streambuf_type*)): Likewise. * include/bits/streambuf.tcc (__copy_streambufs): Remove redundant try/catch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73992 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/istream.tcc')
-rw-r--r--libstdc++-v3/include/bits/istream.tcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/istream.tcc b/libstdc++-v3/include/bits/istream.tcc
index 4055ca79308..0d85cc1bda1 100644
--- a/libstdc++-v3/include/bits/istream.tcc
+++ b/libstdc++-v3/include/bits/istream.tcc
@@ -409,7 +409,7 @@ namespace std
{
try
{
- if (!__copy_streambufs(*this, this->rdbuf(), __sbout))
+ if (!__copy_streambufs(this->rdbuf(), __sbout))
__err |= ios_base::failbit;
}
catch(...)