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

@@ -28,8 +28,8 @@ using namespace rdr;
static const size_t DEFAULT_BUF_SIZE = 8192;
BufferedInStream::BufferedInStream(size_t bufSize_)
: bufSize(bufSize_ ? bufSize_ : DEFAULT_BUF_SIZE), offset(0)
BufferedInStream::BufferedInStream()
: bufSize(DEFAULT_BUF_SIZE), offset(0)
{
ptr = end = start = new U8[bufSize];
}