We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44eb22d + 1f5e289 commit 5452427Copy full SHA for 5452427
include/bxzstr.hpp
@@ -75,7 +75,7 @@ class istreambuf : public std::streambuf {
75
return seekpos(pos, which);
76
}
77
78
- 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){
79
if(pos == 0){
80
seek_to_zero(); // reset the stream
81
return 0; // this should not fail
0 commit comments