1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:54:58 +00:00

LibCompress/Gzip: Replace usage of DeprecatedString

This commit is contained in:
tgsm 2023-06-15 22:35:33 -05:00 committed by Andreas Kling
parent 7990f1b85a
commit c30775522e
3 changed files with 7 additions and 7 deletions

View file

@ -97,7 +97,7 @@ static ErrorOr<Optional<String>> gzip_details(StringView description, StringView
if (!Compress::GzipDecompressor::is_likely_compressed(mapped_file->bytes()))
return OptionalNone {};
auto gzip_details = Compress::GzipDecompressor::describe_header(mapped_file->bytes());
auto gzip_details = TRY(Compress::GzipDecompressor::describe_header(mapped_file->bytes()));
if (!gzip_details.has_value())
return OptionalNone {};