aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/binsaver/bin_saver.h
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 /library/cpp/binsaver/bin_saver.h
parent863a59a65247c24db7cb06789bc5cf79d04da32f (diff)
downloadydb-bf9e69a933f89af083d895185f01ed65e4d90766.tar.gz
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/binsaver/bin_saver.h')
-rw-r--r--library/cpp/binsaver/bin_saver.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/binsaver/bin_saver.h b/library/cpp/binsaver/bin_saver.h
index 0dcc78b5ec..412424889f 100644
--- a/library/cpp/binsaver/bin_saver.h
+++ b/library/cpp/binsaver/bin_saver.h
@@ -1,7 +1,7 @@
#pragma once
-#include "buffered_io.h"
-#include "class_factory.h"
+#include "buffered_io.h"
+#include "class_factory.h"
#include <library/cpp/containers/2d_array/2d_array.h>
@@ -149,9 +149,9 @@ private:
TStoredSize i = 1;
for (auto pos = data.begin(); pos != data.end(); ++pos, ++i)
indices[nSize - i] = pos->first;
- for (TStoredSize j = 0; j < nSize; ++j)
- Add(1, &indices[j]);
- for (TStoredSize j = 0; j < nSize; ++j)
+ for (TStoredSize j = 0; j < nSize; ++j)
+ Add(1, &indices[j]);
+ for (TStoredSize j = 0; j < nSize; ++j)
Add(2, &data[indices[j]]);
}
}
@@ -250,7 +250,7 @@ private:
DataChunkStr(data, sizeof(TString::char_type));
}
void DataChunkWtroka(TUtf16String& data) {
- DataChunkStr(data, sizeof(wchar16));
+ DataChunkStr(data, sizeof(wchar16));
}
void DataChunk(void* pData, i64 nSize) {
@@ -275,7 +275,7 @@ private:
// or serves as a sign that some object has been already stored - during storing
bool StableOutput;
- typedef THashMap<void*, ui32> PtrIdHash;
+ typedef THashMap<void*, ui32> PtrIdHash;
TAutoPtr<PtrIdHash> PtrIds;
typedef THashMap<ui64, TPtr<IObjectBase>> CObjectsHash;