diff options
author | putilin <putilin@yandex-team.ru> | 2022-02-10 16:49:29 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:29 +0300 |
commit | d85af01a101a46c4381ba0c8d5785a43c8273afd (patch) | |
tree | 955ec4a6a051440017d27a47b877dc44311daa50 /library/cpp/compproto/metainfo.h | |
parent | c03ef37690111076e93822dbfa59fd672fa45c33 (diff) | |
download | ydb-d85af01a101a46c4381ba0c8d5785a43c8273afd.tar.gz |
Restoring authorship annotation for <putilin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/compproto/metainfo.h')
-rw-r--r-- | library/cpp/compproto/metainfo.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/compproto/metainfo.h b/library/cpp/compproto/metainfo.h index 6e68f86e12a..3c044c9311a 100644 --- a/library/cpp/compproto/metainfo.h +++ b/library/cpp/compproto/metainfo.h @@ -24,7 +24,7 @@ namespace NCompProto { }; EType Type; ui32 Value; - }; + }; template <class X> struct TMetaInfo { @@ -34,7 +34,7 @@ namespace NCompProto { X Scalar[MAX_ELEMENTS]; TAtomicSharedPtr<TMetaInfo> Repeated[MAX_ELEMENTS]; TScalarDefaultValue Default[MAX_ELEMENTS]; - + ui32 ScalarMask; ui32 RepeatedMask; size_t Size; @@ -146,7 +146,7 @@ namespace NCompProto { Mask.BeginElement(functor); Serializer.LastIndex = index; ++Serializer.Count; - } + } template <class TFunctor> void Iterate(TFunctor& functor) { @@ -236,7 +236,7 @@ namespace NCompProto { stream << step << offset << "table " << "id " << i << Endl; Scalar[i].Save(stream, step + offset); - } + } } stream << offset << "end" << Endl; } @@ -296,7 +296,7 @@ namespace NCompProto { } } else if (name == "end" /* || stream.IsEOF()*/) { return; - } + } } } }; |