mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-02 08:13:58 +08:00
sstream.tcc (pbackfail, overflow): Formatting fixes.
2003-04-21 Paolo Carlini <pcarlini@unitus.it> * include/bits/sstream.tcc (pbackfail, overflow): Formatting fixes. From-SVN: r65893
This commit is contained in:
parent
dfd39a2e36
commit
65085aa3ef
@ -1,3 +1,8 @@
|
||||
2003-04-21 Paolo Carlini <pcarlini@unitus.it>
|
||||
|
||||
* include/bits/sstream.tcc (pbackfail, overflow):
|
||||
Formatting fixes.
|
||||
|
||||
2003-04-21 Paolo Carlini <pcarlini@unitus.it>
|
||||
|
||||
* include/std/std_streambuf.h (uflow()): It's used only by
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user