aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2021-01-26 10:38:09 +0100
committerPierre Ossman <ossman@cendio.se>2021-01-26 10:38:09 +0100
commit7f56b5481cfff360fb44bc6cce2ca60c6dabebde (patch)
tree0a834fd49c8fdf2ee10964a661d91d90dfa94d36
parent45c9d9c0f8b3cdf1305ee8581fec02fd1e721fae (diff)
downloadtigervnc-7f56b5481cfff360fb44bc6cce2ca60c6dabebde.tar.gz
tigervnc-7f56b5481cfff360fb44bc6cce2ca60c6dabebde.zip
Fix overloaded function signature
-rw-r--r--common/rdr/HexInStream.cxx2
-rw-r--r--common/rdr/HexInStream.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/rdr/HexInStream.cxx b/common/rdr/HexInStream.cxx
index 66bbf174..c31623b6 100644
--- a/common/rdr/HexInStream.cxx
+++ b/common/rdr/HexInStream.cxx
@@ -72,7 +72,7 @@ decodeError:
}
-bool HexInStream::fillBuffer(size_t maxSize, bool wait) {
+bool HexInStream::fillBuffer(size_t maxSize) {
if (!in_stream.hasData(2))
return false;
diff --git a/common/rdr/HexInStream.h b/common/rdr/HexInStream.h
index 5142a655..bd7ca305 100644
--- a/common/rdr/HexInStream.h
+++ b/common/rdr/HexInStream.h
@@ -33,7 +33,7 @@ namespace rdr {
static bool hexStrToBin(const char* s, char** data, size_t* length);
private:
- virtual bool fillBuffer(size_t maxSize, bool wait);
+ virtual bool fillBuffer(size_t maxSize);
private:
InStream& in_stream;