X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Buffer.h;fp=Buffer.h;h=50177960a94a2508b0df9a5c2c590502b23954f2;hb=237bbdf363c9e42ee24e2fd63106dccf20d9bf2f;hp=1ce28bca18d4e21193965886cd92e0d64e5a927e;hpb=cb94fd597b180aa7cb01ae84c9d1025201b98d8e;p=rsem.git diff --git a/Buffer.h b/Buffer.h index 1ce28bc..5017796 100644 --- 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;