mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-26 01:24:36 +08:00
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>
|
||||
|
||||
* include/bits/sstream.tcc (pbackfail): Implement correctly
|
||||
|
@ -205,7 +205,7 @@ namespace std
|
||||
this->gbump((__beg + __pos) - this->gptr());
|
||||
if (__testout)
|
||||
this->pbump((__beg + __pos) - this->pptr());
|
||||
__ret = pos_type(off_type(__pos));
|
||||
__ret = __sp;
|
||||
}
|
||||
}
|
||||
return __ret;
|
||||
|
Loading…
Reference in New Issue
Block a user