Skip to content

Commit

Permalink
Merge pull request #33 from robertnurnberg/silence-warning
Browse files Browse the repository at this point in the history
silence a compiler warning
  • Loading branch information
tmaklin authored Feb 3, 2025
2 parents 44eb22d + 1f5e289 commit 5452427
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 @@ -75,7 +75,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 5452427

Please sign in to comment.