aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/compproto/metainfo.h
diff options
context:
space:
mode:
authorputilin <putilin@yandex-team.ru>2022-02-10 16:49:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:29 +0300
commitd85af01a101a46c4381ba0c8d5785a43c8273afd (patch)
tree955ec4a6a051440017d27a47b877dc44311daa50 /library/cpp/compproto/metainfo.h
parentc03ef37690111076e93822dbfa59fd672fa45c33 (diff)
downloadydb-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.h10
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;
- }
+ }
}
}
};