diff options
author | hippskill <hippskill@yandex-team.ru> | 2022-02-10 16:50:12 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:12 +0300 |
commit | 6362c4a2681cc317ffd22633d773f02de0d13697 (patch) | |
tree | 566537c590e1d85a85954c227ac36495243a9030 /library/cpp/yson_pull/range.h | |
parent | 4b28e15652a7672062edb6804bc985eedc333257 (diff) | |
download | ydb-6362c4a2681cc317ffd22633d773f02de0d13697.tar.gz |
Restoring authorship annotation for <hippskill@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yson_pull/range.h')
-rw-r--r-- | library/cpp/yson_pull/range.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/yson_pull/range.h b/library/cpp/yson_pull/range.h index f4fcf3f2061..b5d6a5be3b0 100644 --- a/library/cpp/yson_pull/range.h +++ b/library/cpp/yson_pull/range.h @@ -16,11 +16,11 @@ namespace NYsonPull { { } - const TEvent* Last() const noexcept { + const TEvent* Last() const noexcept { return &Reader_.LastEvent(); } - const TEvent* Next() { + const TEvent* Next() { if (Y_UNLIKELY(AtEnd)) { return nullptr; } |