summaryrefslogtreecommitdiffstats
path: root/util/generic/hash_ut.cpp
diff options
context:
space:
mode:
authora-romanov <[email protected]>2022-02-10 16:48:11 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:48:11 +0300
commit0f4c5d1e8c0672bf0a1f2f2d8acac5ba24772435 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /util/generic/hash_ut.cpp
parentaa2986a34bde73b2cdcea5080c4443b7cf2ba686 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/generic/hash_ut.cpp')
-rw-r--r--util/generic/hash_ut.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/util/generic/hash_ut.cpp b/util/generic/hash_ut.cpp
index 9d52acafb47..0551d587708 100644
--- a/util/generic/hash_ut.cpp
+++ b/util/generic/hash_ut.cpp
@@ -5,7 +5,7 @@
#include <library/cpp/testing/common/probe.h>
#include <library/cpp/testing/unittest/registar.h>
-#include <utility>
+#include <utility>
#include <util/str_stl.h>
#include <util/digest/multi.h>
@@ -128,7 +128,7 @@ void THashTest::TestHMapConstructorsAndAssignments() {
UNIT_ASSERT_VALUES_EQUAL(1, c1.at("one")); /* Note: fails under MSVC since it does not support implicit generation of move constructors. */
UNIT_ASSERT_VALUES_EQUAL(2, c2.at("two"));
- container c3(std::move(c1));
+ container c3(std::move(c1));
UNIT_ASSERT_VALUES_EQUAL(0, c1.size());
UNIT_ASSERT_VALUES_EQUAL(2, c3.size());
@@ -142,7 +142,7 @@ void THashTest::TestHMapConstructorsAndAssignments() {
UNIT_ASSERT_VALUES_EQUAL(3, c3.at("three"));
c2["four"] = 4;
- c3 = std::move(c2);
+ c3 = std::move(c2);
UNIT_ASSERT_VALUES_EQUAL(0, c2.size());
UNIT_ASSERT_VALUES_EQUAL(4, c3.size());
@@ -272,7 +272,7 @@ void THashTest::TestHMMapConstructorsAndAssignments() {
UNIT_ASSERT_VALUES_EQUAL(2, c1.size());
UNIT_ASSERT_VALUES_EQUAL(2, c2.size());
- container c3(std::move(c1));
+ container c3(std::move(c1));
UNIT_ASSERT_VALUES_EQUAL(0, c1.size());
UNIT_ASSERT_VALUES_EQUAL(2, c3.size());
@@ -284,7 +284,7 @@ void THashTest::TestHMMapConstructorsAndAssignments() {
UNIT_ASSERT_VALUES_EQUAL(3, c3.size());
c2.insert(container::value_type("four", 4));
- c3 = std::move(c2);
+ c3 = std::move(c2);
UNIT_ASSERT_VALUES_EQUAL(0, c2.size());
UNIT_ASSERT_VALUES_EQUAL(4, c3.size());
@@ -380,7 +380,7 @@ void THashTest::TestHSetConstructorsAndAssignments() {
UNIT_ASSERT(c1.contains(100));
UNIT_ASSERT(c2.contains(200));
- container c3(std::move(c1));
+ container c3(std::move(c1));
UNIT_ASSERT_VALUES_EQUAL(0, c1.size());
UNIT_ASSERT_VALUES_EQUAL(2, c3.size());
@@ -394,7 +394,7 @@ void THashTest::TestHSetConstructorsAndAssignments() {
UNIT_ASSERT(c3.contains(300));
c2.insert(400);
- c3 = std::move(c2);
+ c3 = std::move(c2);
UNIT_ASSERT_VALUES_EQUAL(0, c2.size());
UNIT_ASSERT_VALUES_EQUAL(4, c3.size());
@@ -471,7 +471,7 @@ void THashTest::TestHMSetConstructorsAndAssignments() {
UNIT_ASSERT(c1.find(100) != c1.end());
UNIT_ASSERT(c2.find(200) != c2.end());
- container c3(std::move(c1));
+ container c3(std::move(c1));
UNIT_ASSERT_VALUES_EQUAL(0, c1.size());
UNIT_ASSERT_VALUES_EQUAL(2, c3.size());
@@ -485,7 +485,7 @@ void THashTest::TestHMSetConstructorsAndAssignments() {
UNIT_ASSERT(c3.find(300) != c3.end());
c2.insert(400);
- c3 = std::move(c2);
+ c3 = std::move(c2);
UNIT_ASSERT_VALUES_EQUAL(0, c2.size());
UNIT_ASSERT_VALUES_EQUAL(4, c3.size());