Skip to content

Commit 075a93a

Browse files
committed
SIL: add an explicit move assignment operation instantiation
1 parent 86ca0a1 commit 075a93a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/swift/SIL/SILValue.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ class Operand {
587587
Operand &operator=(const Operand &use) = delete;
588588

589589
Operand(Operand &&) = default;
590+
Operand &operator=(Operand &&) = default;
590591

591592
/// Return the current value being used by this operand.
592593
SILValue get() const { return TheValue; }

0 commit comments

Comments
 (0)