Index: mojo/public/cpp/bindings/array.h |
diff --git a/mojo/public/cpp/bindings/array.h b/mojo/public/cpp/bindings/array.h |
index e87e5dc6b263706da1b8637c6db131c6bcfea6ae..f1d4e5ccb3653f02819997f2913111e4cb0d554d 100644 |
--- a/mojo/public/cpp/bindings/array.h |
+++ b/mojo/public/cpp/bindings/array.h |
@@ -13,7 +13,7 @@ |
#include <utility> |
#include <vector> |
-#include "base/move.h" |
+#include "base/macros.h" |
#include "mojo/public/cpp/bindings/lib/array_internal.h" |
#include "mojo/public/cpp/bindings/lib/bindings_internal.h" |
#include "mojo/public/cpp/bindings/lib/template_util.h" |
@@ -25,8 +25,6 @@ namespace mojo { |
// meaning that no value has been assigned to it. Null is distinct from empty. |
template <typename T> |
class Array { |
- MOVE_ONLY_TYPE_FOR_CPP_03(Array); |
- |
public: |
using ConstRefType = typename std::vector<T>::const_reference; |
using RefType = typename std::vector<T>::reference; |
@@ -215,6 +213,8 @@ class Array { |
std::vector<T> vec_; |
bool is_null_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(Array); |
}; |
// A |TypeConverter| that will create an |Array<T>| containing a copy of the |