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 | 3a0b7cd78a1a8366b3944d8d1e11ef9bb52549bf (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/compproto/metainfo.h | |
parent | d85af01a101a46c4381ba0c8d5785a43c8273afd (diff) | |
download | ydb-3a0b7cd78a1a8366b3944d8d1e11ef9bb52549bf.tar.gz |
Restoring authorship annotation for <putilin@yandex-team.ru>. Commit 2 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 3c044c9311a..6e68f86e12a 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; - } + } } } }; |