Index: cc/test/ordered_simple_task_runner_unittest.cc |
diff --git a/cc/test/ordered_simple_task_runner_unittest.cc b/cc/test/ordered_simple_task_runner_unittest.cc |
index df6975bde75a36c61dc50b3aa21350877a0df614..843c47e5169600c132db661fac937fec573842b8 100644 |
--- a/cc/test/ordered_simple_task_runner_unittest.cc |
+++ b/cc/test/ordered_simple_task_runner_unittest.cc |
@@ -48,8 +48,8 @@ TEST(TestOrderablePendingTask, Ordering) { |
EXPECT_LT(b, c); |
EXPECT_LT(a, c); |
- TestOrderablePendingTask a2 = a; |
- EXPECT_EQ(a, a2); |
+ TestOrderablePendingTask a2 = std::move(a); |
+ EXPECT_EQ(a2, a2); |
EXPECT_LT(a2, b); |
EXPECT_LT(b, c); |
EXPECT_LT(a2, c); |