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
This commit is contained in:
parent
fe7378d2bf
commit
9d7bc6de21
|
@ -1,3 +1,8 @@
|
||||||
|
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
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue