diff --git a/include/bxzstr.hpp b/include/bxzstr.hpp index 22ce357..a76693d 100644 --- a/include/bxzstr.hpp +++ b/include/bxzstr.hpp @@ -61,7 +61,7 @@ class istreambuf : public std::streambuf { return seekpos(pos, which); } - virtual std::streampos seekpos(std::streampos pos, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out){ + virtual std::streampos seekpos(std::streampos pos, std::ios_base::openmode){ if(pos == 0){ seek_to_zero(); // reset the stream return 0; // this should not fail