diff options
author | Andrey Fomichev <andrey.fomichev@gmail.com> | 2022-02-10 16:49:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:15 +0300 |
commit | 1c61afbf3db63940d05e6fefa3104b03457788a1 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/buffer.h | |
parent | e542cc14db4240643a06bb0dde87ecf361f101ab (diff) | |
download | ydb-1c61afbf3db63940d05e6fefa3104b03457788a1.tar.gz |
Restoring authorship annotation for Andrey Fomichev <andrey.fomichev@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/generic/buffer.h')
-rw-r--r-- | util/generic/buffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/buffer.h b/util/generic/buffer.h index 9cfebdf009..9576467404 100644 --- a/util/generic/buffer.h +++ b/util/generic/buffer.h @@ -49,7 +49,7 @@ public: inline void Reset() noexcept { TBuffer().Swap(*this); } - + inline void Assign(const char* data, size_t len) { Clear(); Append(data, len); @@ -180,7 +180,7 @@ public: Append(fillChar); } } - + inline char* data() noexcept { return Data(); } |