aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp')
-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 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();