diff options
author | manokk <manokk@yandex-team.ru> | 2022-02-10 16:49:22 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:22 +0300 |
commit | 1c5482b3f165f677a03848fefcf95d44d5e7a799 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp | |
parent | 54dea0395d0e645df950ae47a20659616fa12a71 (diff) | |
download | ydb-1c5482b3f165f677a03848fefcf95d44d5e7a799.tar.gz |
Restoring authorship annotation for <manokk@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/scheme/domscheme_traits.h | 2 | ||||
-rw-r--r-- | library/cpp/yson/json/json_writer.cpp | 6 | ||||
-rw-r--r-- | library/cpp/yson/json/json_writer.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/scheme/domscheme_traits.h b/library/cpp/scheme/domscheme_traits.h index 994588b13f..a11c4dd444 100644 --- a/library/cpp/scheme/domscheme_traits.h +++ b/library/cpp/scheme/domscheme_traits.h @@ -168,7 +168,7 @@ struct TSchemeTraits { INTEGER_OPS(ui8, true) INTEGER_OPS(ui16, true) INTEGER_OPS(ui32, true) - INTEGER_OPS_EX(ui64, 0, (i64)(Max<i64>() >> 1), true) + INTEGER_OPS_EX(ui64, 0, (i64)(Max<i64>() >> 1), true) #undef INTEGER_OPS #undef INTEGER_OPS_EX diff --git a/library/cpp/yson/json/json_writer.cpp b/library/cpp/yson/json/json_writer.cpp index 29bbf6eda0..87481256ec 100644 --- a/library/cpp/yson/json/json_writer.cpp +++ b/library/cpp/yson/json/json_writer.cpp @@ -143,10 +143,10 @@ namespace NYT { void TJsonWriter::OnEntity() { if (IsWriteAllowed()) { - EnterNode(); + EnterNode(); JsonWriter->WriteNull(); - LeaveNode(); - } + LeaveNode(); + } } void TJsonWriter::OnBeginList() { diff --git a/library/cpp/yson/json/json_writer.h b/library/cpp/yson/json/json_writer.h index 4c61bd4c78..d84ac0de53 100644 --- a/library/cpp/yson/json/json_writer.h +++ b/library/cpp/yson/json/json_writer.h @@ -35,7 +35,7 @@ namespace NYT { EJsonFormat format = JF_TEXT, EJsonAttributesMode attributesMode = JAM_ON_DEMAND, ESerializedBoolFormat booleanFormat = SBF_STRING); - + TJsonWriter( IOutputStream* output, NJson::TJsonWriterConfig config, |