Clear IOStream error bits to allow I/O operations again

This commit is contained in:
Guilhem Lavaux 2016-01-29 14:57:55 +01:00
parent 8e774afb05
commit f7b9f4493d

View file

@ -78,6 +78,7 @@ int64_t UnformattedRead::position() const
void UnformattedRead::seek(int64_t pos)
{
f->clear();
f->seekg(pos, istream::beg);
checkPointRef = checkPointAccum = 0;
}