diff options
author | dgolear <dgolear@yandex-team.com> | 2025-01-22 13:02:25 +0300 |
---|---|---|
committer | dgolear <dgolear@yandex-team.com> | 2025-01-22 13:45:20 +0300 |
commit | e11a91ef357f17a112d73f070ee0c307e8329b68 (patch) | |
tree | 7c4b90f456894e7f2dd3e1177eb45b14ebdd1c07 | |
parent | 8ab60c4b83d2248f60d175fe369393cb6b81b0f3 (diff) | |
download | ydb-e11a91ef357f17a112d73f070ee0c307e8329b68.tar.gz |
Style
commit_hash:05c41465310400793e941da5dd6ac7750d8342a8
-rw-r--r-- | yt/yt/core/yson/protobuf_interop-inl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yt/yt/core/yson/protobuf_interop-inl.h b/yt/yt/core/yson/protobuf_interop-inl.h index af20635494..7705c049c7 100644 --- a/yt/yt/core/yson/protobuf_interop-inl.h +++ b/yt/yt/core/yson/protobuf_interop-inl.h @@ -18,7 +18,8 @@ const TProtobufMessageType* ReflectProtobufMessageType() //////////////////////////////////////////////////////////////////////////////// template <class ProtoType, class Type, bool UseParseOptionsInSerialize> -static const void* DoRegisterIntermediateProtoInteropRepresentation() { +static const void* DoRegisterIntermediateProtoInteropRepresentation() +{ NYT::NYson::AddProtobufConverterRegisterAction([] { auto* descriptor = ProtoType::default_instance().GetDescriptor(); NYT::NYson::TProtobufMessageConverter converter; |