Skip to content
Snippets Groups Projects
Commit f5f2e17e authored by Martin Alkämper's avatar Martin Alkämper
Browse files

Merge branch 'fix-clang' into 'master'

impl/binaryio: use standard std::streampos

See merge request extensions/dune-alugrid!37
parents ab0eb9d2 28766772
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ namespace ALUGrid ...@@ -61,7 +61,7 @@ namespace ALUGrid
// return additional bytes in buffer by seeking // return additional bytes in buffer by seeking
if( stream ) if( stream )
{ {
std::istream::streampos pos = stream.tellg(); std::streampos pos = stream.tellg();
pos -= zinfo.avail_in ; pos -= zinfo.avail_in ;
stream.seekg( pos ); stream.seekg( pos );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment