Reset checkpoint on seek

This commit is contained in:
Guilhem Lavaux 2016-01-28 16:08:54 +01:00
parent 3e775180fa
commit f2e015b1fb

View File

@ -79,6 +79,7 @@ int64_t UnformattedRead::position() const
void UnformattedRead::seek(int64_t pos) void UnformattedRead::seek(int64_t pos)
{ {
f->seekg(pos, istream::beg); f->seekg(pos, istream::beg);
checkPointRef = checkPointAccum = 0;
} }
// Todo implement primitive description // Todo implement primitive description