]> git.donarmstrong.com Git - rsem.git/blobdiff - Buffer.h
Fixed a bug in perl scripts for printing error messages
[rsem.git] / Buffer.h
index 1ce28bca18d4e21193965886cd92e0d64e5a927e..50177960a94a2508b0df9a5c2c590502b23954f2 100644 (file)
--- a/Buffer.h
+++ b/Buffer.h
@@ -62,15 +62,15 @@ private:
                std::streampos gap2 = std::streampos(nSamples - to) * FLOATSIZE;
                float *p = NULL;
 
-               ftmpOut.seekp(0, std::ios_base::beg);
+               ftmpOut.seekp(0, std::ios::beg);
                for (int i = 0; i < cvlen; i++) {
                        p = buffer + i;
-                       ftmpOut.seekp(gap1, std::ios_base::cur);
+                       ftmpOut.seekp(gap1, std::ios::cur);
                        for (int j = fr; j < to; j++) {
                                ftmpOut.write((char*)p, FLOATSIZE);
                                p += cvlen;
                        }
-                       ftmpOut.seekp(gap2, std::ios_base::cur);
+                       ftmpOut.seekp(gap2, std::ios::cur);
                }
 
                cpos = 0;