aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/walk.cpp
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/stream/walk.cpp
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/stream/walk.cpp')
-rw-r--r--util/stream/walk.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/stream/walk.cpp b/util/stream/walk.cpp
index 0243939398..57dc9ab036 100644
--- a/util/stream/walk.cpp
+++ b/util/stream/walk.cpp
@@ -1,13 +1,13 @@
#include "walk.h"
#include <util/generic/string.h>
-
-void IWalkInput::DoUndo(size_t len) {
+
+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) {
+size_t IWalkInput::DoNext(const void** ptr, size_t len) {
if (!Len_) {
Len_ = DoUnboundedNext(&Buf_);
}