diff options
author | 2021-07-14 17:16:36 +0100 | |
---|---|---|
committer | 2021-07-16 09:44:43 +0000 | |
commit | 8f21748bf127012947ed48c40948df3f2d9c85ef (patch) | |
tree | 70d287634fd0b3a2d43ad8de7738c9703eb0a2a6 /libartbase/base/debug_stack.h | |
parent | ce5c830aede3313ceb22f7b2ca6c30e5b8432972 (diff) |
Mark move constructors/assignements as `noexcept`.
And unmark `HashSet` copy constructor and copy assignment.
Test: m
Change-Id: Ia419f3036b2880815be446395e81c7e543388bd9
Diffstat (limited to 'libartbase/base/debug_stack.h')
-rw-r--r-- | libartbase/base/debug_stack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libartbase/base/debug_stack.h b/libartbase/base/debug_stack.h index 4743786418..4bbaee88f1 100644 --- a/libartbase/base/debug_stack.h +++ b/libartbase/base/debug_stack.h @@ -95,7 +95,7 @@ class DebugStackReferenceImpl { DebugStackReferenceImpl(const DebugStackReferenceImpl& other) : counter_(other.counter_), ref_count_(counter_->IncrementRefCount()) { } - DebugStackReferenceImpl(DebugStackReferenceImpl&& other) + DebugStackReferenceImpl(DebugStackReferenceImpl&& other) noexcept : counter_(other.counter_), ref_count_(other.ref_count_) { other.counter_ = nullptr; } |