fstream.tcc (open): Change to single return.
2003-04-29 Paolo Carlini <pcarlini@unitus.it> * include/bits/fstream.tcc (open): Change to single return. From-SVN: r66245
This commit is contained in:
parent
9193479f34
commit
cc9d1c78ef
|
@ -1,3 +1,7 @@
|
|||
2003-04-29 Paolo Carlini <pcarlini@unitus.it>
|
||||
|
||||
* include/bits/fstream.tcc (open): Change to single return.
|
||||
|
||||
2003-04-29 Paolo Carlini <pcarlini@unitus.it>
|
||||
|
||||
* include/std/std_sstream.h (underflow): Change to single return.
|
||||
|
|
|
@ -100,13 +100,10 @@ namespace std
|
|||
|
||||
if ((__mode & ios_base::ate)
|
||||
&& this->seekoff(0, ios_base::end, __mode) < 0)
|
||||
{
|
||||
// 27.8.1.3,4
|
||||
this->close();
|
||||
return __ret;
|
||||
}
|
||||
|
||||
__ret = this;
|
||||
// 27.8.1.3,4
|
||||
this->close();
|
||||
else
|
||||
__ret = this;
|
||||
}
|
||||
}
|
||||
return __ret;
|
||||
|
|
Loading…
Reference in New Issue