summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/std/std_streambuf.h
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-21 21:44:44 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-21 21:44:44 +0000
commit6bf07c5706fc7c548e54d41fee1d02f7d89d2b9f (patch)
tree712fb1d95e06ab7ade2c9c54c8dae5d8908fb9d4 /libstdc++-v3/include/std/std_streambuf.h
parent7c3be33fc15b273f1c424edb319244110399792f (diff)
downloadppe42-gcc-6bf07c5706fc7c548e54d41fee1d02f7d89d2b9f.tar.gz
ppe42-gcc-6bf07c5706fc7c548e54d41fee1d02f7d89d2b9f.zip
2003-04-21 Paolo Carlini <pcarlini@unitus.it>
Consistently use _M_in_beg instead of eback(), _M_in_cur instead of gptr(), and so on. * include/bits/fstream.tcc (pbackfail, imbue): Here. * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto. * include/bits/streambuf.tcc (sbumpc, sputbackc, __copy_streambufs): Ditto. * include/std/std_streambuf.h (sgetc): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65909 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/std_streambuf.h')
-rw-r--r--libstdc++-v3/include/std/std_streambuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/std_streambuf.h b/libstdc++-v3/include/std/std_streambuf.h
index ded94a4e512..5409b7515c3 100644
--- a/libstdc++-v3/include/std/std_streambuf.h
+++ b/libstdc++-v3/include/std/std_streambuf.h
@@ -453,7 +453,7 @@ namespace std
{
int_type __ret;
if (_M_in_cur < _M_in_end)
- __ret = traits_type::to_int_type(*(this->gptr()));
+ __ret = traits_type::to_int_type(*this->_M_in_cur);
else
__ret = this->underflow();
return __ret;
OpenPOWER on IntegriCloud