diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:23 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:23 +0300 |
commit | 706b83ed7de5a473436620367af31fc0ceecde07 (patch) | |
tree | 103305d30dec77e8f6367753367f59b3cd68f9f1 /util/stream/output.h | |
parent | 918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff) | |
download | ydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'util/stream/output.h')
-rw-r--r-- | util/stream/output.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/util/stream/output.h b/util/stream/output.h index 00eef50b95..0dc723e6f0 100644 --- a/util/stream/output.h +++ b/util/stream/output.h @@ -3,8 +3,8 @@ #include "fwd.h" #include "labeled.h" -#include <util/generic/noncopyable.h> -#include <util/generic/string.h> +#include <util/generic/noncopyable.h> +#include <util/generic/string.h> #include <util/generic/strbuf.h> #include <util/generic/typetraits.h> @@ -24,7 +24,7 @@ public: * Data block for output. */ struct TPart { - inline TPart(const void* Buf, size_t Len) noexcept + inline TPart(const void* Buf, size_t Len) noexcept : buf(Buf) , len(Len) { @@ -36,7 +36,7 @@ public: { } - inline TPart() noexcept + inline TPart() noexcept : buf(nullptr) , len(0) { @@ -44,7 +44,7 @@ public: inline ~TPart() = default; - static inline TPart CrLf() noexcept { + static inline TPart CrLf() noexcept { return TPart("\r\n", 2); } @@ -57,11 +57,11 @@ public: IOutputStream(IOutputStream&&) noexcept { } - + IOutputStream& operator=(IOutputStream&&) noexcept { - return *this; - }; - + return *this; + }; + /** * Writes into this stream. * |