[STLPORT]

Fix assignment. Patch by Victor Martinez.
CORE-8117 #resolve #comment Fixed in r66147, thanks!

svn path=/trunk/; revision=66147
This commit is contained in:
Hermès Bélusca-Maïto 2015-02-01 22:37:06 +00:00
parent dcf70ea86f
commit 80a5b9b021

View file

@ -84,7 +84,7 @@ basic_filebuf<_CharT, _Traits>::close() {
if (_M_in_output_mode) {
__ok = __ok && !_Traits::eq_int_type(this->overflow(traits_type::eof()),
traits_type::eof());
__ok == __ok && this->_M_unshift();
__ok = __ok && this->_M_unshift();
}
else if (_M_in_input_mode)
this->_M_exit_input_mode();