| Index: base/mac/scoped_nsobject.h
|
| diff --git a/base/mac/scoped_nsobject.h b/base/mac/scoped_nsobject.h
|
| index cc54aa0ca8cd11f9c2b67721430040bb8a9c85ba..ecd8e78f9d3fac3be11a2c543f4bbaf1ab2b55b6 100644
|
| --- a/base/mac/scoped_nsobject.h
|
| +++ b/base/mac/scoped_nsobject.h
|
| @@ -102,7 +102,7 @@ class scoped_nsprotocol
|
| : ScopedTypeRef<NST, Traits>(that_as_subclass) {}
|
|
|
| scoped_nsprotocol(scoped_nsprotocol<NST>&& that)
|
| - : ScopedTypeRef<NST, Traits>(that) {}
|
| + : ScopedTypeRef<NST, Traits>(std::move(that)) {}
|
|
|
| scoped_nsprotocol& operator=(const scoped_nsprotocol<NST>& that) {
|
| ScopedTypeRef<NST, Traits>::operator=(that);
|
| @@ -166,7 +166,7 @@ class scoped_nsobject : public scoped_nsprotocol<NST*> {
|
| : scoped_nsprotocol<NST*>(that_as_subclass) {}
|
|
|
| scoped_nsobject(scoped_nsobject<NST>&& that)
|
| - : scoped_nsprotocol<NST*>(that) {}
|
| + : scoped_nsprotocol<NST*>(std::move(that)) {}
|
|
|
| scoped_nsobject& operator=(const scoped_nsobject<NST>& that) {
|
| scoped_nsprotocol<NST*>::operator=(that);
|
| @@ -214,7 +214,8 @@ class scoped_nsobject<id> : public scoped_nsprotocol<id> {
|
| explicit scoped_nsobject(const scoped_nsobject<NSR>& that_as_subclass)
|
| : scoped_nsprotocol<id>(that_as_subclass) {}
|
|
|
| - scoped_nsobject(scoped_nsobject<id>&& that) : scoped_nsprotocol<id>(that) {}
|
| + scoped_nsobject(scoped_nsobject<id>&& that)
|
| + : scoped_nsprotocol<id>(std::move(that)) {}
|
|
|
| scoped_nsobject& operator=(const scoped_nsobject<id>& that) {
|
| scoped_nsprotocol<id>::operator=(that);
|
|
|