diff options
Diffstat (limited to 'compiler/utils/array_ref.h')
-rw-r--r-- | compiler/utils/array_ref.h | 2 |
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) { |