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 --- compiler/utils/label.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/utils/label.h') diff --git a/compiler/utils/label.h b/compiler/utils/label.h index 9586a1996a..282500b1b7 100644 --- a/compiler/utils/label.h +++ b/compiler/utils/label.h @@ -59,7 +59,7 @@ class Label { public: Label() : position_(0) {} - Label(Label&& src) + Label(Label&& src) noexcept : position_(src.position_) { // We must unlink/unbind the src label when moving; if not, calling the destructor on // the src label would fail. -- cgit v1.2.3-59-g8ed1b