diff options
author | 2022-07-01 15:33:36 +0000 | |
---|---|---|
committer | 2022-07-05 08:14:25 +0000 | |
commit | 2de4a8278c80932d7ff650bf0e0bc2a624863ccc (patch) | |
tree | 0c911e022c5f6ec245d60a37b224b56674a25a21 /libartbase/base/array_slice.h | |
parent | 38cb5adb8d48c6fbefd89bbdfc3b64054cf814d5 (diff) |
Fix performance-noexcept-move-constructor clang-tidy issues
Test: m tidy-art
Bug: 213953102
Merged-In: I4f4ff5febffcf045a907593621e68d87dd871680
Change-Id: I943f55b689b775397303fb889eea8d01001e6fbc
Diffstat (limited to 'libartbase/base/array_slice.h')
-rw-r--r-- | libartbase/base/array_slice.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libartbase/base/array_slice.h b/libartbase/base/array_slice.h index a58ff4439d..067d9f284f 100644 --- a/libartbase/base/array_slice.h +++ b/libartbase/base/array_slice.h @@ -65,9 +65,9 @@ class ArraySlice { lpa != nullptr ? lpa->size() : 0, element_size) {} ArraySlice(const ArraySlice<T>&) = default; - ArraySlice(ArraySlice<T>&&) = default; + ArraySlice(ArraySlice<T>&&) noexcept = default; ArraySlice<T>& operator=(const ArraySlice<T>&) = default; - ArraySlice<T>& operator=(ArraySlice<T>&&) = default; + ArraySlice<T>& operator=(ArraySlice<T>&&) noexcept = default; // Iterators. iterator begin() { return iterator(&AtUnchecked(0), element_size_); } |