| Index: base/win/scoped_handle.h
|
| diff --git a/base/win/scoped_handle.h b/base/win/scoped_handle.h
|
| index d8f480f5f2017aabb1bada53e7ea22eaa6753f8c..6603e681109d6b0d1c342f7e42898d04a4a712fd 100644
|
| --- a/base/win/scoped_handle.h
|
| +++ b/base/win/scoped_handle.h
|
| @@ -12,6 +12,7 @@
|
| #include "base/location.h"
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| +#include "base/move.h"
|
|
|
| // TODO(rvargas): remove this with the rest of the verifier.
|
| #if defined(COMPILER_MSVC)
|
| @@ -36,6 +37,8 @@
|
| // this explicitly is necessary because of bug 528394 and VC++ 2015.
|
| template <class Traits, class Verifier>
|
| class GenericScopedHandle {
|
| + MOVE_ONLY_TYPE_FOR_CPP_03(GenericScopedHandle)
|
| +
|
| public:
|
| typedef typename Traits::Handle Handle;
|
|
|
| @@ -109,8 +112,6 @@
|
| FRIEND_TEST_ALL_PREFIXES(ScopedHandleTest, ActiveVerifierWrongOwner);
|
| FRIEND_TEST_ALL_PREFIXES(ScopedHandleTest, ActiveVerifierUntrackedHandle);
|
| Handle handle_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(GenericScopedHandle);
|
| };
|
|
|
| #undef BASE_WIN_GET_CALLER
|
|
|