Fixed seeking after EOF in input stream.

This commit is contained in:
Vincent Richard 2012-12-13 18:34:22 +01:00
parent e91495e3c3
commit c9f0641b06

View File

@ -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);
}