Fixed seeking after EOF in input stream.
This commit is contained in:
parent
e91495e3c3
commit
c9f0641b06
@ -73,6 +73,7 @@ stream::size_type inputStreamAdapter::getPosition() const
|
||||
|
||||
void inputStreamAdapter::seek(const size_type pos)
|
||||
{
|
||||
m_stream.clear();
|
||||
m_stream.seekg(pos, std::ios_base::beg);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user