From 1f5e2892dbcfa1a34d560e8fe1728b7b3b5bdc54 Mon Sep 17 00:00:00 2001 From: "Robert Nurnberg @ elitebook" Date: Sat, 1 Feb 2025 17:17:18 +0100 Subject: [PATCH] silence a compiler warning --- include/bxzstr.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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