diff options
author | Paolo Carlini <pcarlini@unitus.it> | 2003-04-29 01:02:46 +0200 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2003-04-28 23:02:46 +0000 |
commit | 6ef4b79c95c5494878bbea87a9cda9e45a75e163 (patch) | |
tree | 120c0218b0a24188c850f323a7820c110f919815 /libstdc++-v3/include/bits | |
parent | 44b84cc9182bffe8b7d751fe4ca1d90ebcce512d (diff) | |
download | gcc-6ef4b79c95c5494878bbea87a9cda9e45a75e163.zip gcc-6ef4b79c95c5494878bbea87a9cda9e45a75e163.tar.gz gcc-6ef4b79c95c5494878bbea87a9cda9e45a75e163.tar.bz2 |
std_streambuf.h (_M_buf_size): is currently used only for basic_filebuf, therefore move it there.
2003-04-28 Paolo Carlini <pcarlini@unitus.it>
* include/std/std_streambuf.h (_M_buf_size): is currently
used only for basic_filebuf, therefore move it there.
(basic_streambuf(), ~basic_streambuf()): Adjust.
* include/std/std_fstream.h (_M_buf_size): Moved here.
* include/bits/fstream.tcc (basic_filebuf()): Adjust.
From-SVN: r66191
Diffstat (limited to 'libstdc++-v3/include/bits')
-rw-r--r-- | libstdc++-v3/include/bits/fstream.tcc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/fstream.tcc b/libstdc++-v3/include/bits/fstream.tcc index 75bc0c8..c03c0e5 100644 --- a/libstdc++-v3/include/bits/fstream.tcc +++ b/libstdc++-v3/include/bits/fstream.tcc @@ -76,7 +76,7 @@ namespace std basic_filebuf<_CharT, _Traits>:: basic_filebuf() : __streambuf_type(), _M_file(&_M_lock), _M_state_cur(__state_type()), _M_state_beg(__state_type()), - _M_buf_allocated(false), _M_last_overflowed(false), + _M_buf_size(BUFSIZ), _M_buf_allocated(false), _M_last_overflowed(false), _M_pback_cur_save(0), _M_pback_end_save(0), _M_pback_init(false) { this->_M_buf_unified = true; } |