OSDN Git Service

2004-10-03 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Oct 2004 11:33:53 +0000 (11:33 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Oct 2004 11:33:53 +0000 (11:33 +0000)
* include/bits/sstream.tcc (seekpos): In case of success, just
return __sp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88443 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/sstream.tcc

index ff73a85..8167ae0 100644 (file)
@@ -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
index 76cda29..985a0e4 100644 (file)
@@ -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;