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
commit6750fac04a33847862ab7bfb19145f6f91207be6 (patch)
tree4ef07665d11f55d011c0cc9ea4b74d03390a5bdb /library/cpp/binsaver/blob_io.h
parenteb4b8b8ee0d18f168ae14f4d88a6efe2498e0f78 (diff)
downloadydb-6750fac04a33847862ab7bfb19145f6f91207be6.tar.gz
Restoring authorship annotation for <shakurov@yandex-team.ru>. Commit 1 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 abe518ef306..e83e00bc4c8 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;