aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/binsaver/blob_io.h
diff options
context:
space:
mode:
authorshakurov <shakurov@yandex-team.ru>2022-02-10 16:49:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:23 +0300
commit296627beeba9eb1fbc3cc1ff3dbae3ff192fb2a8 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/binsaver/blob_io.h
parent6750fac04a33847862ab7bfb19145f6f91207be6 (diff)
downloadydb-296627beeba9eb1fbc3cc1ff3dbae3ff192fb2a8.tar.gz
Restoring authorship annotation for <shakurov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/binsaver/blob_io.h')
-rw-r--r--library/cpp/binsaver/blob_io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/binsaver/blob_io.h b/library/cpp/binsaver/blob_io.h
index e83e00bc4c8..abe518ef306 100644
--- a/library/cpp/binsaver/blob_io.h
+++ b/library/cpp/binsaver/blob_io.h
@@ -7,7 +7,7 @@
class TYaBlobStream: public IBinaryStream {
TBlob Blob;
- i64 Pos;
+ i64 Pos;
int WriteImpl(const void*, int) override {
Y_ASSERT(0);
@@ -16,7 +16,7 @@ class TYaBlobStream: public IBinaryStream {
int ReadImpl(void* userBuffer, int size) override {
if (size == 0)
return 0;
- i64 res = Min<i64>(Blob.Length() - Pos, size);
+ i64 res = Min<i64>(Blob.Length() - Pos, size);
if (res)
memcpy(userBuffer, ((const char*)Blob.Data()) + Pos, res);
Pos += res;