From: Louis Brandy Date: Tue, 3 Nov 2015 20:30:27 +0000 (-0800) Subject: qualify std::move in StringKeyedTest X-Git-Tag: deprecate-dynamic-initializer~281 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fb450d12c29496f2479abdd89c8ff15be4ee0234;p=folly.git qualify std::move in StringKeyedTest Summary: Prefer `std::move` to `move` for clarity's sake. Reviewed By: yfeldblum Differential Revision: D2601138 fb-gh-sync-id: 64a9e58a83da9c8416a0be5c45a292c6b1342664 --- diff --git a/folly/experimental/test/StringKeyedTest.cpp b/folly/experimental/test/StringKeyedTest.cpp index e36f81b2..5f13bf0d 100644 --- a/folly/experimental/test/StringKeyedTest.cpp +++ b/folly/experimental/test/StringKeyedTest.cpp @@ -176,7 +176,7 @@ TEST(StringKeyedUnorderedMapTest, constructors) { map2.emplace("key1", 1); - LeakCheckedUnorderedMap map3(move(map2)); + LeakCheckedUnorderedMap map3(std::move(map2)); EXPECT_EQ(map3.size(), 1); EXPECT_EQ(map3["key1"], 1); @@ -263,7 +263,7 @@ TEST(StringKeyedSetTest, constructors) { set2.emplace("key1"); - LeakCheckedSet set3(move(set2)); + LeakCheckedSet set3(std::move(set2)); EXPECT_EQ(set3.size(), 1); EXPECT_EQ(set3.insert("key1").second, false); @@ -383,7 +383,7 @@ TEST(StringKeyedUnorderedSetTest, constructors) { set2.emplace("key1"); - LeakCheckedUnorderedSet set3(move(set2)); + LeakCheckedUnorderedSet set3(std::move(set2)); EXPECT_EQ(set3.size(), 1); EXPECT_EQ(set3.insert("key1").second, false); @@ -470,7 +470,7 @@ TEST(StringKeyedMapTest, constructors) { map2.emplace("key1", 1); - LeakCheckedMap map3(move(map2)); + LeakCheckedMap map3(std::move(map2)); EXPECT_EQ(map3.size(), 1); EXPECT_EQ(map3["key1"], 1);