diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /library/cpp/streams/brotli | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/streams/brotli')
-rw-r--r-- | library/cpp/streams/brotli/brotli.cpp | 6 | ||||
-rw-r--r-- | library/cpp/streams/brotli/brotli.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/streams/brotli/brotli.cpp b/library/cpp/streams/brotli/brotli.cpp index 38052cb688..ce2567724a 100644 --- a/library/cpp/streams/brotli/brotli.cpp +++ b/library/cpp/streams/brotli/brotli.cpp @@ -122,7 +122,7 @@ void TBrotliCompress::DoFinish() { //////////////////////////////////////////////////////////////////////////////// -class TBrotliDecompress::TImpl: public TAdditionalStorage<TImpl> { +class TBrotliDecompress::TImpl: public TAdditionalStorage<TImpl> { public: TImpl(IInputStream* slave) : Slave_(slave) @@ -190,7 +190,7 @@ private: bool SubstreamFinished_ = false; bool InputExhausted_ = false; - const ui8* InputBuffer_ = nullptr; + const ui8* InputBuffer_ = nullptr; size_t InputAvailable_ = 0; unsigned char* TmpBuf() noexcept { @@ -220,7 +220,7 @@ private: }; TBrotliDecompress::TBrotliDecompress(IInputStream* slave, size_t bufferSize) - : Impl_(new (bufferSize) TImpl(slave)) + : Impl_(new (bufferSize) TImpl(slave)) { } diff --git a/library/cpp/streams/brotli/brotli.h b/library/cpp/streams/brotli/brotli.h index b3af869e29..1d60b41851 100644 --- a/library/cpp/streams/brotli/brotli.h +++ b/library/cpp/streams/brotli/brotli.h @@ -9,7 +9,7 @@ * @{ */ -class TBrotliCompress: public IOutputStream { +class TBrotliCompress: public IOutputStream { public: static constexpr int BEST_QUALITY = 11; @@ -32,7 +32,7 @@ public: //////////////////////////////////////////////////////////////////////////////// -class TBrotliDecompress: public IInputStream { +class TBrotliDecompress: public IInputStream { public: /** @param slave stream to read compressed data from |