aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/walk.cpp
diff options
context:
space:
mode:
authorAlexander Fokin <apfokin@gmail.com>2022-02-10 16:45:38 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:38 +0300
commitbf9e69a933f89af083d895185f01ed65e4d90766 (patch)
treeb2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /util/stream/walk.cpp
parent863a59a65247c24db7cb06789bc5cf79d04da32f (diff)
downloadydb-bf9e69a933f89af083d895185f01ed65e4d90766.tar.gz
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/stream/walk.cpp')
-rw-r--r--util/stream/walk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/stream/walk.cpp b/util/stream/walk.cpp
index 8a6404699f..57dc9ab036 100644
--- a/util/stream/walk.cpp
+++ b/util/stream/walk.cpp
@@ -5,8 +5,8 @@
void IWalkInput::DoUndo(size_t len) {
Len_ += len;
Buf_ = static_cast<const char*>(Buf_) - len;
-}
-
+}
+
size_t IWalkInput::DoNext(const void** ptr, size_t len) {
if (!Len_) {
Len_ = DoUnboundedNext(&Buf_);