Skip to content

Commit a7aa0e5

Browse files
committed
Add missing move constructors
1 parent 4a5c360 commit a7aa0e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gcc/rust/typecheck/rust-tyty.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,10 @@ class SubstitutionArgumentMappings
699699
return *this;
700700
}
701701

702+
SubstitutionArgumentMappings (SubstitutionArgumentMappings &&other) = default;
703+
SubstitutionArgumentMappings &operator= (SubstitutionArgumentMappings &&other)
704+
= default;
705+
702706
static SubstitutionArgumentMappings error ()
703707
{
704708
return SubstitutionArgumentMappings ({}, Location (), nullptr, false);

0 commit comments

Comments
 (0)