summaryrefslogtreecommitdiff
path: root/compiler/utils/array_ref.h
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2015-04-06 21:04:16 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-04-06 21:04:17 +0000
commitc411c6cc327d3f2b3b4d1987b07dd442205d9454 (patch)
tree35b060c780fcf6e7c268fec47df40c74b5ab8b05 /compiler/utils/array_ref.h
parente8aae00fa400efbb8f998a5dbf68eb42810889c1 (diff)
parent758a801b66c134361a7b43f7e83f85d1fb800c4c (diff)
Merge "ART: Enable Clang's -Wdeprecated"
Diffstat (limited to 'compiler/utils/array_ref.h')
-rw-r--r--compiler/utils/array_ref.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/utils/array_ref.h b/compiler/utils/array_ref.h
index b1b0ee5e53..ff5a77c97a 100644
--- a/compiler/utils/array_ref.h
+++ b/compiler/utils/array_ref.h
@@ -89,6 +89,8 @@ class ArrayRef {
: array_(v.data()), size_(v.size()) {
}
+ ArrayRef(const ArrayRef&) = default;
+
// Assignment operators.
ArrayRef& operator=(const ArrayRef& other) {