diff --git a/src/fs/io/BufferedOutputStream.hxx b/src/fs/io/BufferedOutputStream.hxx index b1f9ee662..88096bea9 100644 --- a/src/fs/io/BufferedOutputStream.hxx +++ b/src/fs/io/BufferedOutputStream.hxx @@ -56,8 +56,9 @@ class BufferedOutputStream { DynamicFifoBuffer buffer; public: - explicit BufferedOutputStream(OutputStream &_os) noexcept - :os(_os), buffer(32768) {} + explicit BufferedOutputStream(OutputStream &_os, + size_t buffer_size=32768) noexcept + :os(_os), buffer(buffer_size) {} /** * Write the contents of a buffer.