diff --git a/src/utility/inputStreamAdapter.cpp b/src/utility/inputStreamAdapter.cpp index 441307b5..621d43da 100644 --- a/src/utility/inputStreamAdapter.cpp +++ b/src/utility/inputStreamAdapter.cpp @@ -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); }