Skip to content

Commit 5452427

Browse files
authored
Merge pull request #33 from robertnurnberg/silence-warning
silence a compiler warning
2 parents 44eb22d + 1f5e289 commit 5452427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/bxzstr.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class istreambuf : public std::streambuf {
7575
return seekpos(pos, which);
7676
}
7777

78-
virtual std::streampos seekpos(std::streampos pos, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out){
78+
virtual std::streampos seekpos(std::streampos pos, std::ios_base::openmode){
7979
if(pos == 0){
8080
seek_to_zero(); // reset the stream
8181
return 0; // this should not fail

0 commit comments

Comments
 (0)