From: Pierre Ossman Date: Tue, 26 Jan 2021 09:38:09 +0000 (+0100) Subject: Fix overloaded function signature X-Git-Tag: v1.11.90~70 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7f56b5481cfff360fb44bc6cce2ca60c6dabebde;p=tigervnc.git Fix overloaded function signature --- 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;