diff options
author | a-romanov <a-romanov@yandex-team.ru> | 2022-02-10 16:48:11 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:11 +0300 |
commit | 0f4c5d1e8c0672bf0a1f2f2d8acac5ba24772435 (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/containers/comptrie | |
parent | aa2986a34bde73b2cdcea5080c4443b7cf2ba686 (diff) | |
download | ydb-0f4c5d1e8c0672bf0a1f2f2d8acac5ba24772435.tar.gz |
Restoring authorship annotation for <a-romanov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/containers/comptrie')
-rw-r--r-- | library/cpp/containers/comptrie/comptrie_trie.h | 6 | ||||
-rw-r--r-- | library/cpp/containers/comptrie/comptrie_ut.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/containers/comptrie/comptrie_trie.h b/library/cpp/containers/comptrie/comptrie_trie.h index d47aa35587..40ec1e52b3 100644 --- a/library/cpp/containers/comptrie/comptrie_trie.h +++ b/library/cpp/containers/comptrie/comptrie_trie.h @@ -279,9 +279,9 @@ TCompactTrie<T, D, S>& TCompactTrie<T, D, S>::operator=(const TCompactTrie& othe template <class T, class D, class S> TCompactTrie<T, D, S>& TCompactTrie<T, D, S>::operator=(TCompactTrie&& other) noexcept { if (this != &other) { - DataHolder = std::move(other.DataHolder); - EmptyValue = std::move(other.EmptyValue); - Packer = std::move(other.Packer); + DataHolder = std::move(other.DataHolder); + EmptyValue = std::move(other.EmptyValue); + Packer = std::move(other.Packer); } return *this; } diff --git a/library/cpp/containers/comptrie/comptrie_ut.cpp b/library/cpp/containers/comptrie/comptrie_ut.cpp index cf29b48960..74bee09b5d 100644 --- a/library/cpp/containers/comptrie/comptrie_ut.cpp +++ b/library/cpp/containers/comptrie/comptrie_ut.cpp @@ -1385,7 +1385,7 @@ void TCompactTrieTest::TestCopyAndAssignment() { TTrie assign; assign = trie; UNIT_ASSERT(assign.HasCorrectSkipper()); - TTrie move(std::move(trie)); + TTrie move(std::move(trie)); UNIT_ASSERT(move.HasCorrectSkipper()); TTrie moveAssign; moveAssign = TTrie(bufout.Buffer().Data(), bufout.Buffer().Size()); |