diff options
author | karpik <karpik@yandex-team.ru> | 2022-02-10 16:49:23 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:23 +0300 |
commit | 9cb2cb2fdceae44848ab4504f5e445015b0eca6e (patch) | |
tree | 3a0eb3ce001feaa01c007e7845c304fbafeeca9f /library/cpp/binsaver/mem_io.h | |
parent | 4413723d359117d4e6287d7ba94ee9b4102fa149 (diff) | |
download | ydb-9cb2cb2fdceae44848ab4504f5e445015b0eca6e.tar.gz |
Restoring authorship annotation for <karpik@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/binsaver/mem_io.h')
-rw-r--r-- | library/cpp/binsaver/mem_io.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/binsaver/mem_io.h b/library/cpp/binsaver/mem_io.h index 2a9e36fe681..1d64db4fe5c 100644 --- a/library/cpp/binsaver/mem_io.h +++ b/library/cpp/binsaver/mem_io.h @@ -1,5 +1,5 @@ -#pragma once - +#pragma once + #include "bin_saver.h" namespace NMemIoInternals { @@ -22,7 +22,7 @@ namespace NMemIoInternals { bool IsFailed() const override { return false; } - + private: int WriteImpl(const void* userBuffer, int size) override { if (size == 0) @@ -63,8 +63,8 @@ namespace NMemIoInternals { *reinterpret_cast<T*>(&(*data)[0]) = c; } } - } - + } + //////////////////////////////////////////////////////////////////////////// class THugeMemoryStream: public IBinaryStream { TVector<TVector<char>>& Data; |