diff options
author | halin-george <halin-george@yandex-team.ru> | 2022-02-10 16:50:07 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:07 +0300 |
commit | 7c7a0655bcf00449b1fcacc2c658cc4d5c3aca7b (patch) | |
tree | 41c83fd863c44839297aff8b2c301ec6b1853244 /library/cpp/yt/yson_string | |
parent | 811ece47d06924d20a94f89d1b0f5cd37254a49c (diff) | |
download | ydb-7c7a0655bcf00449b1fcacc2c658cc4d5c3aca7b.tar.gz |
Restoring authorship annotation for <halin-george@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 | 6 | ||||
-rw-r--r-- | library/cpp/yt/yson_string/string.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/yt/yson_string/string.cpp b/library/cpp/yt/yson_string/string.cpp index 99d45e8616..b6880e1e03 100644 --- a/library/cpp/yt/yson_string/string.cpp +++ b/library/cpp/yt/yson_string/string.cpp @@ -34,10 +34,10 @@ TYsonStringBuf::TYsonStringBuf(const TString& data, EYsonType type) TYsonStringBuf::TYsonStringBuf(TStringBuf data, EYsonType type) : Data_(data) - , Type_(type) + , Type_(type) , Null_(false) -{ } - +{ } + TYsonStringBuf::TYsonStringBuf(const char* data, EYsonType type) : TYsonStringBuf(TStringBuf(data), type) { } diff --git a/library/cpp/yt/yson_string/string.h b/library/cpp/yt/yson_string/string.h index e13af37a6d..cf649e39aa 100644 --- a/library/cpp/yt/yson_string/string.h +++ b/library/cpp/yt/yson_string/string.h @@ -29,8 +29,8 @@ public: //! Constructs a non-null instance with given type and content. explicit TYsonStringBuf( TStringBuf data, - EYsonType type = EYsonType::Node); - + EYsonType type = EYsonType::Node); + //! Constructs a non-null instance with given type and content //! (without this overload there is no way to construct TYsonStringBuf from //! string literal). |