aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/yson_string
diff options
context:
space:
mode:
authorlukyan <lukyan@yandex-team.ru>2022-02-10 16:48:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:13 +0300
commit3e359c7e6344b01b8d0b0fc619297ffdc2644c49 (patch)
tree84fef6ce6ee76479e37582b357af732385cffdcf /library/cpp/yt/yson_string
parenta02ea31d51f94b7edb98c6ab1322bf26ca04beb5 (diff)
downloadydb-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.cpp2
-rw-r--r--library/cpp/yt/yson_string/string.h2
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_;