From: paolo Date: Mon, 21 Apr 2003 18:46:44 +0000 (+0000) Subject: 2003-04-21 Paolo Carlini X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=4c420549499561098132174e13d4b3b5801938c8 2003-04-21 Paolo Carlini * include/bits/sstream.tcc (pbackfail, overflow): Formatting fixes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65893 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 5b186682826..e4f65c829f1 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 2003-04-21 Paolo Carlini + * include/bits/sstream.tcc (pbackfail, overflow): + Formatting fixes. + +2003-04-21 Paolo Carlini + * include/std/std_streambuf.h (uflow()): It's used only by basic_stringbuf (i.e., basic_filebuf provide its own uflow()), therefore do not consider the _M_buf_unified == true case. diff --git a/libstdc++-v3/include/bits/sstream.tcc b/libstdc++-v3/include/bits/sstream.tcc index 9160b5a8a9d..e8bf8eedcb3 100644 --- a/libstdc++-v3/include/bits/sstream.tcc +++ b/libstdc++-v3/include/bits/sstream.tcc @@ -47,8 +47,8 @@ namespace std pbackfail(int_type __c) { int_type __ret = traits_type::eof(); - const bool __testeof = - traits_type::eq_int_type(__c, traits_type::eof()); + const bool __testeof = traits_type::eq_int_type(__c, + traits_type::eof()); const bool __testpos = this->_M_in_beg < this->_M_in_cur; // Try to put back __c into input sequence in one of three ways. @@ -85,8 +85,8 @@ namespace std if (__builtin_expect(!__testout, false)) return traits_type::eof(); - const bool __testeof = - traits_type::eq_int_type(__c, traits_type::eof()); + const bool __testeof = traits_type::eq_int_type(__c, + traits_type::eof()); if (__builtin_expect(__testeof, false)) return traits_type::not_eof(__c);