diff options
| author | tobo <[email protected]> | 2022-02-10 16:47:27 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:27 +0300 |
| commit | 7fe839092527589b38f014d854c51565b3c1adfa (patch) | |
| tree | 309e97022d3530044b712b8f71318c78faf7856e /library/cpp/yson/node | |
| parent | d0d68c395c10da4cb56a1c845504570a04d7893e (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 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 b39e0707187..262708a2d07 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 5f90f95df07..772100bd368 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); |
