Index: base/memory/scoped_vector.h |
diff --git a/base/memory/scoped_vector.h b/base/memory/scoped_vector.h |
index f3581eaa9bd0cafcc584033fd62e432eb4ca91fb..adbab8cf490b4660feb1a025679f5127867e9330 100644 |
--- a/base/memory/scoped_vector.h |
+++ b/base/memory/scoped_vector.h |
@@ -11,7 +11,7 @@ |
#include <vector> |
#include "base/logging.h" |
-#include "base/macros.h" |
+#include "base/move.h" |
#include "base/stl_util.h" |
// ScopedVector wraps a vector deleting the elements from its |
@@ -21,6 +21,8 @@ |
// we have support for moveable types inside containers). |
template <class T> |
class ScopedVector { |
+ MOVE_ONLY_TYPE_FOR_CPP_03(ScopedVector) |
+ |
public: |
typedef typename std::vector<T*>::allocator_type allocator_type; |
typedef typename std::vector<T*>::size_type size_type; |
@@ -140,8 +142,6 @@ |
private: |
std::vector<T*> v_; |
- |
- DISALLOW_COPY_AND_ASSIGN(ScopedVector); |
}; |
#endif // BASE_MEMORY_SCOPED_VECTOR_H_ |