summaryrefslogtreecommitdiff
path: root/libartbase/base/debug_stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'libartbase/base/debug_stack.h')
-rw-r--r--libartbase/base/debug_stack.h2
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;
}