diff options
Diffstat (limited to 'libartbase/base/dchecked_vector.h')
-rw-r--r-- | libartbase/base/dchecked_vector.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libartbase/base/dchecked_vector.h b/libartbase/base/dchecked_vector.h index e9ce6d0aaf..66e9638809 100644 --- a/libartbase/base/dchecked_vector.h +++ b/libartbase/base/dchecked_vector.h @@ -74,9 +74,9 @@ class dchecked_vector : private std::vector<T, Alloc> { : Base(src) { } dchecked_vector(const dchecked_vector& src, const allocator_type& alloc) : Base(src, alloc) { } - dchecked_vector(dchecked_vector&& src) + dchecked_vector(dchecked_vector&& src) noexcept : Base(std::move(src)) { } - dchecked_vector(dchecked_vector&& src, const allocator_type& alloc) + dchecked_vector(dchecked_vector&& src, const allocator_type& alloc) noexcept : Base(std::move(src), alloc) { } dchecked_vector(std::initializer_list<value_type> il, const allocator_type& alloc = allocator_type()) @@ -86,7 +86,7 @@ class dchecked_vector : private std::vector<T, Alloc> { Base::operator=(src); return *this; } - dchecked_vector& operator=(dchecked_vector&& src) { + dchecked_vector& operator=(dchecked_vector&& src) noexcept { Base::operator=(std::move(src)); return *this; } |