From 6ef4b79c95c5494878bbea87a9cda9e45a75e163 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Tue, 29 Apr 2003 01:02:46 +0200 Subject: std_streambuf.h (_M_buf_size): is currently used only for basic_filebuf, therefore move it there. 2003-04-28 Paolo Carlini * 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 --- libstdc++-v3/include/bits/fstream.tcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libstdc++-v3/include/bits/fstream.tcc') 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; } -- cgit v1.1