diff options
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 {}; |