aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/zlib.cpp
diff options
context:
space:
mode:
authoragorodilov <agorodilov@yandex-team.ru>2022-02-10 16:47:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:09 +0300
commitbd5ef432f5cfb1e18851381329d94665a4c22470 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /util/stream/zlib.cpp
parent7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (diff)
downloadydb-bd5ef432f5cfb1e18851381329d94665a4c22470.tar.gz
Restoring authorship annotation for <agorodilov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/stream/zlib.cpp')
-rw-r--r--util/stream/zlib.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/stream/zlib.cpp b/util/stream/zlib.cpp
index 2fc4188de9..60f4e9439f 100644
--- a/util/stream/zlib.cpp
+++ b/util/stream/zlib.cpp
@@ -26,7 +26,7 @@ namespace {
memset(Z(), 0, sizeof(*Z()));
}
- inline ~TZLibCommon() = default;
+ inline ~TZLibCommon() = default;
inline const char* GetErrMsg() const noexcept {
return Z()->msg != nullptr ? Z()->msg : "unknown error";
@@ -170,10 +170,10 @@ namespace {
{
}
- ~TDecompressStream() override = default;
+ ~TDecompressStream() override = default;
private:
- size_t DoNext(const void** ptr, size_t len) override {
+ size_t DoNext(const void** ptr, size_t len) override {
void* buf = AdditionalData();
*ptr = buf;
@@ -332,7 +332,7 @@ void TZLibDecompress::SetAllowMultipleStreams(bool allowMultipleStreams) {
Impl_->SetAllowMultipleStreams(allowMultipleStreams);
}
-TZLibDecompress::~TZLibDecompress() = default;
+TZLibDecompress::~TZLibDecompress() = default;
size_t TZLibDecompress::DoRead(void* buf, size_t size) {
return Impl_->Read(buf, MaxPortion(size));
@@ -377,4 +377,4 @@ void TZLibCompress::DoFinish() {
}
}
-TBufferedZLibDecompress::~TBufferedZLibDecompress() = default;
+TBufferedZLibDecompress::~TBufferedZLibDecompress() = default;