aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authoriakolzin <iakolzin@yandex-team.ru>2022-02-10 16:50:00 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:00 +0300
commitc345445ed6cb1fc34136ef6f02ce07f5aff9e504 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp
parent76107756fd2fcf86bae1d4899b7bf18e0afaf798 (diff)
downloadydb-c345445ed6cb1fc34136ef6f02ce07f5aff9e504.tar.gz
Restoring authorship annotation for <iakolzin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/on_disk/chunks/chunked_helpers.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/on_disk/chunks/chunked_helpers.h b/library/cpp/on_disk/chunks/chunked_helpers.h
index 0020774218..5fa96afdca 100644
--- a/library/cpp/on_disk/chunks/chunked_helpers.h
+++ b/library/cpp/on_disk/chunks/chunked_helpers.h
@@ -186,7 +186,7 @@ protected:
#pragma pack(pop)
protected:
- static const ui16 VERSION_ID = 2;
+ static const ui16 VERSION_ID = 2;
#pragma pack(push, 8)
struct TInterval {
@@ -256,7 +256,7 @@ public:
void Save(IOutputStream& out) const {
Y_ASSERT(Data.size() < Max<ui32>());
- WriteBin<ui16>(&out, VERSION_ID);
+ WriteBin<ui16>(&out, VERSION_ID);
static const ui32 PAIR_SIZE = sizeof(TKeyValuePair);
WriteBin<ui32>(&out, PAIR_SIZE);
@@ -327,7 +327,7 @@ private:
P = reinterpret_cast<const char*>(p);
#ifndef NDEBUG
ui16 version = ReadUnaligned<ui16>(p);
- if (version != VERSION_ID)
+ if (version != VERSION_ID)
ythrow yexception() << "bad version: " << version;
static const ui32 PAIR_SIZE = sizeof(TKeyValuePair);
const ui32 size = ReadUnaligned<ui32>(p + 2);