diff options
author | tobo <tobo@yandex-team.ru> | 2022-02-10 16:47:27 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:27 +0300 |
commit | 55a7f90e4cd31e9481cace8ee5dfd682c27e810e (patch) | |
tree | 9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/yson/node | |
parent | 7fe839092527589b38f014d854c51565b3c1adfa (diff) | |
download | ydb-55a7f90e4cd31e9481cace8ee5dfd682c27e810e.tar.gz |
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yson/node')
-rw-r--r-- | library/cpp/yson/node/node.cpp | 14 | ||||
-rw-r--r-- | library/cpp/yson/node/node.h | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/yson/node/node.cpp b/library/cpp/yson/node/node.cpp index 262708a2d0..b39e070718 100644 --- a/library/cpp/yson/node/node.cpp +++ b/library/cpp/yson/node/node.cpp @@ -99,18 +99,18 @@ TNode::TNode(const char* s) : Value_(TString(s)) { } -TNode::TNode(TStringBuf s) +TNode::TNode(TStringBuf s) : Value_(TString(s)) { } -TNode::TNode(std::string_view s) +TNode::TNode(std::string_view s) : Value_(TString(s)) -{ } - -TNode::TNode(const std::string& s) +{ } + +TNode::TNode(const std::string& s) : Value_(TString(s)) -{ } - +{ } + TNode::TNode(TString s) : Value_(std::move(s)) { } diff --git a/library/cpp/yson/node/node.h b/library/cpp/yson/node/node.h index 772100bd36..5f90f95df0 100644 --- a/library/cpp/yson/node/node.h +++ b/library/cpp/yson/node/node.h @@ -73,9 +73,9 @@ public: TNode(); TNode(const char* s); - TNode(TStringBuf s); - explicit TNode(std::string_view s); - explicit TNode(const std::string& s); + TNode(TStringBuf s); + explicit TNode(std::string_view s); + explicit TNode(const std::string& s); TNode(TString s); TNode(int i); |