diff options
| author | lukyan <[email protected]> | 2022-02-10 16:48:13 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:48:13 +0300 |
| commit | 96647fad5355ff5ef45a00a6d85c097028584ab0 (patch) | |
| tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/yt/yson_string | |
| parent | 3e359c7e6344b01b8d0b0fc619297ffdc2644c49 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 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 655f7704829..99d45e86169 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 379b455de0e..e13af37a6df 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_; |
