| Index: mojo/public/cpp/system/handle.h
|
| diff --git a/mojo/public/cpp/system/handle.h b/mojo/public/cpp/system/handle.h
|
| index 59fc03ce1b546bd093073e4a11eba52eb95d4623..d0466b0ddead9ae80b1b8e95964df058fda19b37 100644
|
| --- a/mojo/public/cpp/system/handle.h
|
| +++ b/mojo/public/cpp/system/handle.h
|
| @@ -11,6 +11,7 @@
|
| #include "base/compiler_specific.h"
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| +#include "base/move.h"
|
| #include "mojo/public/c/system/functions.h"
|
| #include "mojo/public/c/system/types.h"
|
|
|
| @@ -71,6 +72,8 @@
|
| // like the C++11 |unique_ptr|.
|
| template <class HandleType>
|
| class ScopedHandleBase {
|
| + MOVE_ONLY_TYPE_FOR_CPP_03(ScopedHandleBase);
|
| +
|
| public:
|
| using RawHandleType = HandleType;
|
|
|
| @@ -130,8 +133,6 @@
|
| }
|
|
|
| HandleType handle_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(ScopedHandleBase);
|
| };
|
|
|
| template <typename HandleType>
|
|
|