diff options
author | ermolovd <ermolovd@yandex-team.ru> | 2022-02-10 16:47:53 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:53 +0300 |
commit | b91bcef7c99a119b0846479ef71bfab4beec72ca (patch) | |
tree | be118d54d12a61bc4812ceb0a266a170a2fa3bc9 /library/cpp/yson/varint.cpp | |
parent | f421873774cf0b71743afbe5f6677861e66601ea (diff) | |
download | ydb-b91bcef7c99a119b0846479ef71bfab4beec72ca.tar.gz |
Restoring authorship annotation for <ermolovd@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yson/varint.cpp')
-rw-r--r-- | library/cpp/yson/varint.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/yson/varint.cpp b/library/cpp/yson/varint.cpp index d538ee3cff..c917161665 100644 --- a/library/cpp/yson/varint.cpp +++ b/library/cpp/yson/varint.cpp @@ -1,10 +1,10 @@ -#include "varint.h" - +#include "varint.h" + #include "zigzag.h" -#include <util/generic/yexception.h> +#include <util/generic/yexception.h> -namespace NYson { +namespace NYson { //////////////////////////////////////////////////////////////////////////////// int WriteVarUInt64(IOutputStream* output, ui64 value) { @@ -55,7 +55,7 @@ namespace NYson { ui64 varInt; int bytesRead = ReadVarUInt64(input, &varInt); if (varInt > Max<ui32>()) { - ythrow yexception() << "The data is too long to read ui64"; + ythrow yexception() << "The data is too long to read ui64"; } *value = ZigZagDecode32(static_cast<ui32>(varInt)); return bytesRead; @@ -68,4 +68,4 @@ namespace NYson { return bytesRead; } -} // namespace NYson +} // namespace NYson |