diff options
author | AlexSm <alex@ydb.tech> | 2024-01-04 15:09:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-04 15:09:05 +0100 |
commit | dab291146f6cd7d35684e3a1150e5bb1c412982c (patch) | |
tree | 36ef35f6cacb6432845a4a33f940c95871036b32 /yt/cpp/mapreduce/interface/serialize.cpp | |
parent | 63660ad5e7512029fd0218e7a636580695a24e1f (diff) | |
download | ydb-dab291146f6cd7d35684e3a1150e5bb1c412982c.tar.gz |
Library import 5, delete go dependencies (#832)
* Library import 5, delete go dependencies
* Fix yt client
Diffstat (limited to 'yt/cpp/mapreduce/interface/serialize.cpp')
-rw-r--r-- | yt/cpp/mapreduce/interface/serialize.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt/cpp/mapreduce/interface/serialize.cpp b/yt/cpp/mapreduce/interface/serialize.cpp index 8e701d30b4..4ead9e9a7e 100644 --- a/yt/cpp/mapreduce/interface/serialize.cpp +++ b/yt/cpp/mapreduce/interface/serialize.cpp @@ -216,12 +216,12 @@ void Serialize(const TColumnSchema& columnSchema, NYson::IYsonConsumer* consumer auto simplify = [&](const TNode& typeV3) -> TMaybe<std::pair<TString, bool>> { auto simple = getSimple(typeV3); if (simple) { - return std::make_pair(*simple, isRequired(*simple)); + return std::pair(*simple, isRequired(*simple)); } if (typeV3.IsMap() && typeV3["type_name"] == "optional") { auto simpleItem = getSimple(typeV3["item"]); if (simpleItem && isRequired(*simpleItem)) { - return std::make_pair(*simpleItem, false); + return std::pair(*simpleItem, false); } } return {}; |