diff options
author | asynts <asynts@gmail.com> | 2020-09-08 16:49:05 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-11 16:07:45 +0200 |
commit | 4af8eea56f6c8194dc267faf10704487992e712c (patch) | |
tree | 212b40ce538b5a94475d4692f1519672a9f8e49c /Libraries/LibCompress/Gzip.h | |
parent | 7e02cad4763fce03c3ec64512aa6d862365855f7 (diff) | |
download | serenity-4af8eea56f6c8194dc267faf10704487992e712c.zip |
LibCompress: Return Optional from decompress_all method.
Diffstat (limited to 'Libraries/LibCompress/Gzip.h')
-rw-r--r-- | Libraries/LibCompress/Gzip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibCompress/Gzip.h b/Libraries/LibCompress/Gzip.h index 72e5e49aba..1c1ea4ad7f 100644 --- a/Libraries/LibCompress/Gzip.h +++ b/Libraries/LibCompress/Gzip.h @@ -41,7 +41,7 @@ public: bool discard_or_error(size_t) override; bool eof() const override; - static ByteBuffer decompress_all(ReadonlyBytes); + static Optional<ByteBuffer> decompress_all(ReadonlyBytes); private: struct [[gnu::packed]] BlockHeader |