mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:40:12 +01:00
Make NameScope move constructor noexcept (#5812)
This commit is contained in:
@@ -138,7 +138,7 @@ class NameScope : public Printable<NameScope> {
|
||||
};
|
||||
|
||||
// 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,
|
||||
|
||||
Reference in New Issue
Block a user