diff options
Diffstat (limited to 'Userland/Libraries/LibCompress/Deflate.cpp')
-rw-r--r-- | Userland/Libraries/LibCompress/Deflate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCompress/Deflate.cpp b/Userland/Libraries/LibCompress/Deflate.cpp index f6c296635f..0dc24c55a1 100644 --- a/Userland/Libraries/LibCompress/Deflate.cpp +++ b/Userland/Libraries/LibCompress/Deflate.cpp @@ -317,7 +317,7 @@ void DeflateDecompressor::close() ErrorOr<ByteBuffer> DeflateDecompressor::decompress_all(ReadonlyBytes bytes) { - auto memory_stream = TRY(FixedMemoryStream::construct(bytes)); + auto memory_stream = TRY(try_make<FixedMemoryStream>(bytes)); auto deflate_stream = TRY(DeflateDecompressor::construct(move(memory_stream))); AllocatingMemoryStream output_stream; |