diff options
Diffstat (limited to 'Userland/Libraries/LibCompress/Gzip.cpp')
-rw-r--r-- | Userland/Libraries/LibCompress/Gzip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCompress/Gzip.cpp b/Userland/Libraries/LibCompress/Gzip.cpp index 93208319d4..3fcb2adb22 100644 --- a/Userland/Libraries/LibCompress/Gzip.cpp +++ b/Userland/Libraries/LibCompress/Gzip.cpp @@ -164,7 +164,7 @@ Optional<DeprecatedString> GzipDecompressor::describe_header(ReadonlyBytes bytes ErrorOr<ByteBuffer> GzipDecompressor::decompress_all(ReadonlyBytes bytes) { - auto memory_stream = TRY(FixedMemoryStream::construct(bytes)); + auto memory_stream = TRY(try_make<FixedMemoryStream>(bytes)); auto gzip_stream = make<GzipDecompressor>(move(memory_stream)); AllocatingMemoryStream output_stream; |