diff options
author | 2021-07-14 17:16:36 +0100 | |
---|---|---|
committer | 2021-07-16 09:44:43 +0000 | |
commit | 8f21748bf127012947ed48c40948df3f2d9c85ef (patch) | |
tree | 70d287634fd0b3a2d43ad8de7738c9703eb0a2a6 /compiler/utils/label.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 'compiler/utils/label.h')
-rw-r--r-- | compiler/utils/label.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. |