Skip to content

Commit d7e1cc6

Browse files
committed
Add missing move constructors
1 parent e63de69 commit d7e1cc6

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)