aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/streambuf.tcc
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2003-04-28 04:54:54 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2003-04-28 04:54:54 +0000
commitaa438e8f2be0b073dc5f59376befa9b4215f6604 (patch)
tree0bd96b1f6d755299f85f59adda5dd5444ad90324 /libstdc++-v3/include/bits/streambuf.tcc
parentafc6aaab24721ee00e75ca5511fcc7d9e8c632af (diff)
downloadgcc-aa438e8f2be0b073dc5f59376befa9b4215f6604.zip
gcc-aa438e8f2be0b073dc5f59376befa9b4215f6604.tar.gz
gcc-aa438e8f2be0b073dc5f59376befa9b4215f6604.tar.bz2
std_fstream.h (basic_filebuf): _M_pback_destroy to _M_destroy_pback.
2003-04-27 Benjamin Kosnik <bkoz@redhat.com> * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to _M_destroy_pback. _M_pback_create to _M_create_pback. _M_underflow_common to _M_underflow. _M_really_overflow to _M_overflow. * include/bits/fstream.tcc: Same. * src/fstream.cc: Same. * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to _M_move_in_cur. _M_out_cur_move to _M_move_out_cur. * include/bits/streambuf.tcc: Same. * include/bits/fstream.tcc: Same. * include/bits/sstream.tcc: Same. From-SVN: r66149
Diffstat (limited to 'libstdc++-v3/include/bits/streambuf.tcc')
-rw-r--r--libstdc++-v3/include/bits/streambuf.tcc14
1 files changed, 7 insertions, 7 deletions
diff --git a/libstdc++-v3/include/bits/streambuf.tcc b/libstdc++-v3/include/bits/streambuf.tcc
index 8623d25..05e5a65 100644
--- a/libstdc++-v3/include/bits/streambuf.tcc
+++ b/libstdc++-v3/include/bits/streambuf.tcc
@@ -48,7 +48,7 @@ namespace std
if (_M_in_cur < _M_in_end)
{
char_type __c = *this->_M_in_cur;
- _M_in_cur_move(1);
+ _M_move_in_cur(1);
__ret = traits_type::to_int_type(__c);
}
else
@@ -67,7 +67,7 @@ namespace std
__ret = this->pbackfail(traits_type::to_int_type(__c));
else
{
- _M_in_cur_move(-1);
+ _M_move_in_cur(-1);
__ret = traits_type::to_int_type(*this->_M_in_cur);
}
return __ret;
@@ -81,7 +81,7 @@ namespace std
int_type __ret;
if (_M_in_beg < _M_in_cur)
{
- _M_in_cur_move(-1);
+ _M_move_in_cur(-1);
__ret = traits_type::to_int_type(*_M_in_cur);
}
else
@@ -98,7 +98,7 @@ namespace std
if (_M_out_cur < _M_out_end)
{
*_M_out_cur = __c;
- _M_out_cur_move(1);
+ _M_move_out_cur(1);
__ret = traits_type::to_int_type(__c);
}
else
@@ -122,7 +122,7 @@ namespace std
traits_type::copy(__s, _M_in_cur, __len);
__ret += __len;
__s += __len;
- _M_in_cur_move(__len);
+ _M_move_in_cur(__len);
}
if (__ret < __n)
@@ -156,7 +156,7 @@ namespace std
traits_type::copy(_M_out_cur, __s, __len);
__ret += __len;
__s += __len;
- _M_out_cur_move(__len);
+ _M_move_out_cur(__len);
}
if (__ret < __n)
@@ -201,7 +201,7 @@ namespace std
{
__xtrct = __sbout->sputn(__sbin->_M_in_cur, __avail);
__ret += __xtrct;
- __sbin->_M_in_cur_move(__xtrct);
+ __sbin->_M_move_in_cur(__xtrct);
if (__xtrct != __avail)
break;
}