diff options
author | glebx777 <glebx777@yandex-team.ru> | 2022-02-10 16:49:44 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:44 +0300 |
commit | 573561e4ea1e5fcbf31e871b7f81ece0051c6bf2 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/stream | |
parent | ab9150ae9d81b97b19a2a6a8b903f9a40791c8b4 (diff) | |
download | ydb-573561e4ea1e5fcbf31e871b7f81ece0051c6bf2.tar.gz |
Restoring authorship annotation for <glebx777@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/stream')
-rw-r--r-- | util/stream/fwd.h | 2 | ||||
-rw-r--r-- | util/stream/tempbuf.cpp | 2 | ||||
-rw-r--r-- | util/stream/tempbuf.h | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/util/stream/fwd.h b/util/stream/fwd.h index ba3d8acd06..307676c6a7 100644 --- a/util/stream/fwd.h +++ b/util/stream/fwd.h @@ -38,7 +38,7 @@ class TStringStream; class TTeeOutput; -class TTempBufOutput; +class TTempBufOutput; struct TEol; diff --git a/util/stream/tempbuf.cpp b/util/stream/tempbuf.cpp index 3529953687..801a1fabb0 100644 --- a/util/stream/tempbuf.cpp +++ b/util/stream/tempbuf.cpp @@ -6,7 +6,7 @@ namespace { } } -void TTempBufOutput::DoWrite(const void* data, size_t len) { +void TTempBufOutput::DoWrite(const void* data, size_t len) { if (Y_LIKELY(len <= Left())) { Append(data, len); } else { diff --git a/util/stream/tempbuf.h b/util/stream/tempbuf.h index 3020db3a2b..a6dc001025 100644 --- a/util/stream/tempbuf.h +++ b/util/stream/tempbuf.h @@ -4,17 +4,17 @@ #include <util/memory/tempbuf.h> -class TTempBufOutput: public IOutputStream, public TTempBuf { +class TTempBufOutput: public IOutputStream, public TTempBuf { public: - inline TTempBufOutput() = default; + inline TTempBufOutput() = default; - explicit TTempBufOutput(size_t size) + explicit TTempBufOutput(size_t size) : TTempBuf(size) { } - TTempBufOutput(TTempBufOutput&&) noexcept = default; - TTempBufOutput& operator=(TTempBufOutput&&) noexcept = default; + TTempBufOutput(TTempBufOutput&&) noexcept = default; + TTempBufOutput& operator=(TTempBufOutput&&) noexcept = default; protected: void DoWrite(const void* data, size_t len) override; |