diff --git a/toolchain/sem_ir/name_scope.h b/toolchain/sem_ir/name_scope.h index 5e7827cbdd6b..29d62454d754 100644 --- a/toolchain/sem_ir/name_scope.h +++ b/toolchain/sem_ir/name_scope.h @@ -138,7 +138,7 @@ class NameScope : public Printable { }; // Disallow copy, allow move. - NameScope(NameScope&& other) = default; + NameScope(NameScope&& other) noexcept = default; auto operator=(NameScope&& other) noexcept -> NameScope& = default; explicit NameScope(InstId inst_id, NameId name_id,