diff options
author | lukyan <lukyan@yandex-team.ru> | 2022-02-10 16:48:13 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:13 +0300 |
commit | 3e359c7e6344b01b8d0b0fc619297ffdc2644c49 (patch) | |
tree | 84fef6ce6ee76479e37582b357af732385cffdcf /library/cpp/yt/yson_string | |
parent | a02ea31d51f94b7edb98c6ab1322bf26ca04beb5 (diff) | |
download | ydb-3e359c7e6344b01b8d0b0fc619297ffdc2644c49.tar.gz |
Restoring authorship annotation for <lukyan@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yt/yson_string')
-rw-r--r-- | library/cpp/yt/yson_string/string.cpp | 2 | ||||
-rw-r--r-- | library/cpp/yt/yson_string/string.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/yt/yson_string/string.cpp b/library/cpp/yt/yson_string/string.cpp index 99d45e8616..655f770482 100644 --- a/library/cpp/yt/yson_string/string.cpp +++ b/library/cpp/yt/yson_string/string.cpp @@ -155,7 +155,7 @@ TString TYsonString::ToString() const [] (const TNullPayload&) -> TString { YT_ABORT(); }, - [&] (const TRefCountedPtr&) { + [&] (const TRefCountedPtr&) { return TString(AsStringBuf()); }, [] (const TString& payload) { diff --git a/library/cpp/yt/yson_string/string.h b/library/cpp/yt/yson_string/string.h index e13af37a6d..379b455de0 100644 --- a/library/cpp/yt/yson_string/string.h +++ b/library/cpp/yt/yson_string/string.h @@ -107,7 +107,7 @@ private: struct TNullPayload { }; - using THolder = TRefCountedPtr; + using THolder = TRefCountedPtr; std::variant<TNullPayload, THolder, TString> Payload_; |