aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/mem.cpp
diff options
context:
space:
mode:
authoragorodilov <agorodilov@yandex-team.ru>2022-02-10 16:47:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:09 +0300
commit7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (patch)
tree9e9943579e5a14679af7cd2cda3c36d8c0b775d3 /util/stream/mem.cpp
parent676340c42e269f3070f194d160f42a83a10568d4 (diff)
downloadydb-7a4979e6211c3e78c7f9041d4a9e5d3405343c36.tar.gz
Restoring authorship annotation for <agorodilov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/stream/mem.cpp')
-rw-r--r--util/stream/mem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/stream/mem.cpp b/util/stream/mem.cpp
index 22a3339e27..964a475788 100644
--- a/util/stream/mem.cpp
+++ b/util/stream/mem.cpp
@@ -20,7 +20,7 @@ TMemoryInput::TMemoryInput(const TStringBuf buf) noexcept
{
}
-TMemoryInput::~TMemoryInput() = default;
+TMemoryInput::~TMemoryInput() = default;
size_t TMemoryInput::DoNext(const void** ptr, size_t len) {
len = Min(Len_, len);
@@ -36,7 +36,7 @@ void TMemoryInput::DoUndo(size_t len) {
Buf_ -= len;
}
-TMemoryOutput::~TMemoryOutput() = default;
+TMemoryOutput::~TMemoryOutput() = default;
size_t TMemoryOutput::DoNext(void** ptr) {
Y_ENSURE(Buf_ < End_, TStringBuf("memory output stream exhausted"));