Skip to content

Commit

Permalink
silence a compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
robertnurnberg committed Feb 1, 2025
1 parent 6c426ef commit 1f5e289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/bxzstr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f5e289

Please sign in to comment.