std_sstream.h (underflow): Change to single return.
2003-04-29 Paolo Carlini <pcarlini@unitus.it> * include/std/std_sstream.h (underflow): Change to single return. From-SVN: r66234
This commit is contained in:
parent
1be3f80ff8
commit
d4be2966f3
@ -1,3 +1,7 @@
|
||||
2003-04-29 Paolo Carlini <pcarlini@unitus.it>
|
||||
|
||||
* include/std/std_sstream.h (underflow): Change to single return.
|
||||
|
||||
2003-04-28 Paolo Carlini <pcarlini@unitus.it>
|
||||
|
||||
* include/std/std_streambuf.h (_M_buf): is currently
|
||||
|
@ -190,10 +190,12 @@ namespace std
|
||||
virtual int_type
|
||||
underflow()
|
||||
{
|
||||
int_type __ret;
|
||||
if (this->_M_in_cur < this->_M_in_end)
|
||||
return traits_type::to_int_type(*this->_M_in_cur);
|
||||
__ret = traits_type::to_int_type(*this->_M_in_cur);
|
||||
else
|
||||
return traits_type::eof();
|
||||
__ret = traits_type::eof();
|
||||
return __ret;
|
||||
}
|
||||
|
||||
// [documentation is inherited]
|
||||
|
Loading…
Reference in New Issue
Block a user