| Index: mojo/public/cpp/bindings/tests/container_test_util.cc
|
| diff --git a/mojo/public/cpp/bindings/tests/container_test_util.cc b/mojo/public/cpp/bindings/tests/container_test_util.cc
|
| index 12fdabacb85bbae72febb83f97db72a7585b83e3..e8377c4ce510be97f1c7700980ba6b2f52f1b603 100644
|
| --- a/mojo/public/cpp/bindings/tests/container_test_util.cc
|
| +++ b/mojo/public/cpp/bindings/tests/container_test_util.cc
|
| @@ -32,14 +32,14 @@ MoveOnlyType::MoveOnlyType() : moved_(false), ptr_(this) {
|
| num_instances_++;
|
| }
|
|
|
| -MoveOnlyType::MoveOnlyType(RValue other)
|
| - : moved_(true), ptr_(other.object->ptr()) {
|
| +MoveOnlyType::MoveOnlyType(MoveOnlyType&& other)
|
| + : moved_(true), ptr_(other.ptr()) {
|
| num_instances_++;
|
| }
|
|
|
| -MoveOnlyType& MoveOnlyType::operator=(RValue other) {
|
| +MoveOnlyType& MoveOnlyType::operator=(MoveOnlyType&& other) {
|
| moved_ = true;
|
| - ptr_ = other.object->ptr();
|
| + ptr_ = other.ptr();
|
| return *this;
|
| }
|
|
|
|
|