Skip to content

Commit ed920fe

Browse files
authored
Merge pull request swiftlang#28953 from compnerd/imvu
SIL: explicitly instantiate the `Operand` move ctor
2 parents 0c6c5aa + 075a93a commit ed920fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/swift/SIL/SILValue.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,9 @@ class Operand {
586586
Operand(const Operand &use) = delete;
587587
Operand &operator=(const Operand &use) = delete;
588588

589+
Operand(Operand &&) = default;
590+
Operand &operator=(Operand &&) = default;
591+
589592
/// Return the current value being used by this operand.
590593
SILValue get() const { return TheValue; }
591594

0 commit comments

Comments
 (0)