aboutsummaryrefslogtreecommitdiffstats
path: root/common/rdr/BufferedOutStream.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2020-05-19 19:49:41 +0200
committerPierre Ossman <ossman@cendio.se>2020-05-21 11:34:22 +0200
commitcf40b83e2330607bab221c33b8f7b5b1885eedb3 (patch)
treef2b8c66736f1f808def3272cce0a30ff843a36e1 /common/rdr/BufferedOutStream.cxx
parent0cd533cf7f53daa157a9b7f6af2b9b72eeca5403 (diff)
downloadtigervnc-cf40b83e2330607bab221c33b8f7b5b1885eedb3.tar.gz
tigervnc-cf40b83e2330607bab221c33b8f7b5b1885eedb3.zip
Remove unused bufSize argument from streams
Diffstat (limited to 'common/rdr/BufferedOutStream.cxx')
-rw-r--r--common/rdr/BufferedOutStream.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rdr/BufferedOutStream.cxx b/common/rdr/BufferedOutStream.cxx
index 69e877ad..ac76f6a7 100644
--- a/common/rdr/BufferedOutStream.cxx
+++ b/common/rdr/BufferedOutStream.cxx
@@ -30,8 +30,8 @@ using namespace rdr;
static const size_t DEFAULT_BUF_SIZE = 16384;
-BufferedOutStream::BufferedOutStream(size_t bufSize_)
- : bufSize(bufSize_ ? bufSize_ : DEFAULT_BUF_SIZE), offset(0)
+BufferedOutStream::BufferedOutStream()
+ : bufSize(DEFAULT_BUF_SIZE), offset(0)
{
ptr = start = sentUpTo = new U8[bufSize];
end = start + bufSize;