aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/streams/brotli
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:17 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:17 +0300
commitd3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch)
treedd4bd3ca0f36b817e96812825ffaf10d645803f2 /library/cpp/streams/brotli
parent72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff)
downloadydb-d3a398281c6fd1d3672036cb2d63f842d2cb28c5.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/streams/brotli')
-rw-r--r--library/cpp/streams/brotli/brotli.cpp6
-rw-r--r--library/cpp/streams/brotli/brotli.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/streams/brotli/brotli.cpp b/library/cpp/streams/brotli/brotli.cpp
index ce2567724a..38052cb688 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 1d60b41851..b3af869e29 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