Remove unused bufSize argument from streams

This commit is contained in:
Pierre Ossman
2020-05-19 19:49:41 +02:00
committed by Lauri Kasanen
parent 281d65292a
commit 25995e2490
17 changed files with 28 additions and 35 deletions

View File

@@ -30,9 +30,9 @@ using namespace rdr;
enum { DEFAULT_BUF_SIZE = 16384 };
ZlibOutStream::ZlibOutStream(OutStream* os, size_t bufSize_, int compressLevel)
ZlibOutStream::ZlibOutStream(OutStream* os, int compressLevel)
: underlying(os), compressionLevel(compressLevel), newLevel(compressLevel),
bufSize(bufSize_ ? bufSize_ : DEFAULT_BUF_SIZE), offset(0)
bufSize(DEFAULT_BUF_SIZE), offset(0)
{
zs = new z_stream;
zs->zalloc = Z_NULL;