diff options
author | nsofya <nsofya@yandex-team.ru> | 2022-02-10 16:49:52 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:52 +0300 |
commit | 3f5911a056d3dbc4bfd724740244a3a9c11575ef (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/streams | |
parent | 2ea6d2c7415473747379b1c65468241b431057ad (diff) | |
download | ydb-3f5911a056d3dbc4bfd724740244a3a9c11575ef.tar.gz |
Restoring authorship annotation for <nsofya@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/streams')
-rw-r--r-- | library/cpp/streams/lz/lz.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/streams/lz/lz.cpp b/library/cpp/streams/lz/lz.cpp index 2053e1a4f7..b65bb3ed96 100644 --- a/library/cpp/streams/lz/lz.cpp +++ b/library/cpp/streams/lz/lz.cpp @@ -120,16 +120,16 @@ private: this->Save(compressed, &header); using TPart = IOutputStream::TPart; - if (ptr) { - const TPart parts[] = { - TPart(tmp, sizeof(tmp)), - TPart(ptr, len), - }; - - Slave_->Write(parts, sizeof(parts) / sizeof(*parts)); - } else { - Slave_->Write(tmp, sizeof(tmp)); - } + if (ptr) { + const TPart parts[] = { + TPart(tmp, sizeof(tmp)), + TPart(ptr, len), + }; + + Slave_->Write(parts, sizeof(parts) / sizeof(*parts)); + } else { + Slave_->Write(tmp, sizeof(tmp)); + } } private: |