Index: base/move_unittest.cc |
diff --git a/base/move_unittest.cc b/base/move_unittest.cc |
index 1f4ce84cb6af4f1aac736704b271fea1b6fc4b19..da0be638c5ba26734ac0de3e39fc516afee57bba 100644 |
--- a/base/move_unittest.cc |
+++ b/base/move_unittest.cc |
@@ -24,7 +24,7 @@ class Container { |
Container(const Container& other) = default; |
Container& operator=(const Container& other) = default; |
- Container(Container&& other) { value_ = other.value_.Pass(); } |
+ Container(Container&& other) { value_ = std::move(other.value_); } |
Container& operator=(Container&& other) { |
value_ = other.value_.Pass(); |