aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgaiduk <gaiduk@yandex-team.ru>2022-02-10 16:49:21 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:21 +0300
commit027f7b7f6644e258a5840869b9b82c79e1ebeee0 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8
parentcb32ddf04f53e72bb5b34bbdcaf40c49f408ccb7 (diff)
downloadydb-027f7b7f6644e258a5840869b9b82c79e1ebeee0.tar.gz
Restoring authorship annotation for <gaiduk@yandex-team.ru>. Commit 2 of 2.
-rw-r--r--library/cpp/yson/node/node.cpp4
-rw-r--r--library/cpp/yson/node/node.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/yson/node/node.cpp b/library/cpp/yson/node/node.cpp
index b8233991e5..b39e070718 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 11deb1e834..5f90f95df0 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();