From 6bf07c5706fc7c548e54d41fee1d02f7d89d2b9f Mon Sep 17 00:00:00 2001 From: paolo Date: Mon, 21 Apr 2003 21:44:44 +0000 Subject: 2003-04-21 Paolo Carlini 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 --- libstdc++-v3/include/std/std_streambuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libstdc++-v3/include/std/std_streambuf.h') 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; -- cgit v1.2.3