diff --git a/Userland/Libraries/LibCompress/Gzip.cpp b/Userland/Libraries/LibCompress/Gzip.cpp index d5c899426b6..f93554d272a 100644 --- a/Userland/Libraries/LibCompress/Gzip.cpp +++ b/Userland/Libraries/LibCompress/Gzip.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020, the SerenityOS developers. + * Copyright (c) 2020-2022, the SerenityOS developers. * Copyright (c) 2021, Idan Horowitz * * SPDX-License-Identifier: BSD-2-Clause @@ -225,10 +225,6 @@ GzipCompressor::GzipCompressor(OutputStream& stream) { } -GzipCompressor::~GzipCompressor() -{ -} - size_t GzipCompressor::write(ReadonlyBytes bytes) { BlockHeader header; diff --git a/Userland/Libraries/LibCompress/Gzip.h b/Userland/Libraries/LibCompress/Gzip.h index 2a4227b74cc..e25b6b0813c 100644 --- a/Userland/Libraries/LibCompress/Gzip.h +++ b/Userland/Libraries/LibCompress/Gzip.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020, the SerenityOS developers. + * Copyright (c) 2020-2022, the SerenityOS developers. * Copyright (c) 2021, Idan Horowitz * * SPDX-License-Identifier: BSD-2-Clause @@ -82,7 +82,7 @@ private: class GzipCompressor final : public OutputStream { public: GzipCompressor(OutputStream&); - ~GzipCompressor(); + ~GzipCompressor() = default; size_t write(ReadonlyBytes) override; bool write_or_error(ReadonlyBytes) override;