Reset checkpoint on seek
This commit is contained in:
parent
3e775180fa
commit
f2e015b1fb
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue