Commit 9d7bc6de by Paolo Carlini Committed by Paolo Carlini

sstream.tcc (seekpos): In case of success, just return __sp.

2004-10-03  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/sstream.tcc (seekpos): In case of success, just
	return __sp.

From-SVN: r88443
parent fe7378d2
2004-10-03 Paolo Carlini <pcarlini@suse.de>
* include/bits/sstream.tcc (seekpos): In case of success, just
return __sp.
2004-10-01 Paolo Carlini <pcarlini@suse.de> 2004-10-01 Paolo Carlini <pcarlini@suse.de>
* include/bits/sstream.tcc (pbackfail): Implement correctly * include/bits/sstream.tcc (pbackfail): Implement correctly
......
...@@ -205,7 +205,7 @@ namespace std ...@@ -205,7 +205,7 @@ namespace std
this->gbump((__beg + __pos) - this->gptr()); this->gbump((__beg + __pos) - this->gptr());
if (__testout) if (__testout)
this->pbump((__beg + __pos) - this->pptr()); this->pbump((__beg + __pos) - this->pptr());
__ret = pos_type(off_type(__pos)); __ret = __sp;
} }
} }
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