From 8f21748bf127012947ed48c40948df3f2d9c85ef Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 14 Jul 2021 17:16:36 +0100 Subject: Mark move constructors/assignements as `noexcept`. And unmark `HashSet` copy constructor and copy assignment. Test: m Change-Id: Ia419f3036b2880815be446395e81c7e543388bd9 --- libartbase/base/debug_stack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libartbase/base/debug_stack.h') 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; } -- cgit v1.2.3-59-g8ed1b