Commit cc9d1c78 by Paolo Carlini Committed by Paolo Carlini

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
parent 9193479f
2003-04-29 Paolo Carlini <pcarlini@unitus.it> 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. * include/std/std_sstream.h (underflow): Change to single return.
2003-04-28 Paolo Carlini <pcarlini@unitus.it> 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
......
...@@ -100,13 +100,10 @@ namespace std ...@@ -100,13 +100,10 @@ namespace std
if ((__mode & ios_base::ate) if ((__mode & ios_base::ate)
&& this->seekoff(0, ios_base::end, __mode) < 0) && this->seekoff(0, ios_base::end, __mode) < 0)
{ // 27.8.1.3,4
// 27.8.1.3,4 this->close();
this->close(); else
return __ret; __ret = this;
}
__ret = this;
} }
} }
return __ret; return __ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment