From a842162424dcd5c51c80819758b9aa6c5ffd5f4e Mon Sep 17 00:00:00 2001 From: Jon Ross-Perkins Date: Thu, 17 Jul 2025 14:29:49 -0400 Subject: [PATCH] Make NameScope move constructor noexcept (#5812) --- toolchain/sem_ir/name_scope.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,