diff options
author | gaiduk <gaiduk@yandex-team.ru> | 2022-02-10 16:49:21 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:21 +0300 |
commit | cb32ddf04f53e72bb5b34bbdcaf40c49f408ccb7 (patch) | |
tree | 429efaf6de0d5fdc7a1eaeb96d100a3407916cc0 | |
parent | 296addf192418e73b12dd8c5110ac1a36d9dee19 (diff) | |
download | ydb-cb32ddf04f53e72bb5b34bbdcaf40c49f408ccb7.tar.gz |
Restoring authorship annotation for <gaiduk@yandex-team.ru>. Commit 1 of 2.
-rw-r--r-- | library/cpp/yson/node/node.cpp | 4 | ||||
-rw-r--r-- | library/cpp/yson/node/node.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/yson/node/node.cpp b/library/cpp/yson/node/node.cpp index b39e070718..b8233991e5 100644 --- a/library/cpp/yson/node/node.cpp +++ b/library/cpp/yson/node/node.cpp @@ -171,13 +171,13 @@ TNode& TNode::operator=(const TNode& rhs) return *this; } -TNode::TNode(TNode&& rhs) noexcept +TNode::TNode(TNode&& rhs) noexcept : TNode() { Move(std::move(rhs)); } -TNode& TNode::operator=(TNode&& rhs) noexcept +TNode& TNode::operator=(TNode&& rhs) noexcept { if (this != &rhs) { TNode tmp = std::move(rhs); diff --git a/library/cpp/yson/node/node.h b/library/cpp/yson/node/node.h index 5f90f95df0..11deb1e834 100644 --- a/library/cpp/yson/node/node.h +++ b/library/cpp/yson/node/node.h @@ -106,8 +106,8 @@ public: TNode(const TNode& rhs); TNode& operator=(const TNode& rhs); - TNode(TNode&& rhs) noexcept; - TNode& operator=(TNode&& rhs) noexcept; + TNode(TNode&& rhs) noexcept; + TNode& operator=(TNode&& rhs) noexcept; ~TNode(); |