diff options
author | yazevnul <yazevnul@yandex-team.ru> | 2022-02-10 16:46:46 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:46 +0300 |
commit | 8cbc307de0221f84c80c42dcbe07d40727537e2c (patch) | |
tree | 625d5a673015d1df891e051033e9fcde5c7be4e5 /util/stream/zlib.cpp | |
parent | 30d1ef3941e0dc835be7609de5ebee66958f215a (diff) | |
download | ydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz |
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/stream/zlib.cpp')
-rw-r--r-- | util/stream/zlib.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/util/stream/zlib.cpp b/util/stream/zlib.cpp index 60f4e9439f..2893cc044b 100644 --- a/util/stream/zlib.cpp +++ b/util/stream/zlib.cpp @@ -29,7 +29,7 @@ namespace { inline ~TZLibCommon() = default; inline const char* GetErrMsg() const noexcept { - return Z()->msg != nullptr ? Z()->msg : "unknown error"; + return Z()->msg != nullptr ? Z()->msg : "unknown error"; } inline z_stream* Z() const noexcept { @@ -45,9 +45,9 @@ namespace { } struct TChunkedZeroCopyInput { - inline TChunkedZeroCopyInput(IZeroCopyInput* in) + inline TChunkedZeroCopyInput(IZeroCopyInput* in) : In(in) - , Buf(nullptr) + , Buf(nullptr) , Len(0) { } @@ -72,7 +72,7 @@ namespace { return true; } - IZeroCopyInput* In; + IZeroCopyInput* In; const char* Buf; size_t Len; }; @@ -162,7 +162,7 @@ private: }; namespace { - class TDecompressStream: public IZeroCopyInput, public TZLibDecompress::TImpl, public TAdditionalStorage<TDecompressStream> { + class TDecompressStream: public IZeroCopyInput, public TZLibDecompress::TImpl, public TAdditionalStorage<TDecompressStream> { public: inline TDecompressStream(IInputStream* input, ZLib::StreamType type, TStringBuf dict) : TZLibDecompress::TImpl(this, type, dict) @@ -181,7 +181,7 @@ namespace { } private: - IInputStream* Stream_; + IInputStream* Stream_; }; using TZeroCopyDecompress = TZLibDecompress::TImpl; @@ -314,7 +314,7 @@ private: } private: - IOutputStream* Stream_; + IOutputStream* Stream_; THolder<gz_header> GZHeader_; }; |