From 758a801b66c134361a7b43f7e83f85d1fb800c4c Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Fri, 3 Apr 2015 21:28:42 -0700 Subject: ART: Enable Clang's -Wdeprecated Replace throw() with noexcept. Add default copy constructors and copy assignment constructors for cases with destructors, as the implicit definition is deprecated. Change-Id: Ice306a3f510b072b00bec4d4360f7c8055135c9d --- compiler/utils/array_ref.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/utils/array_ref.h') 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) { -- cgit v1.2.3-59-g8ed1b