Skip to content

Commit a99aebb

Browse files
committed
Sema: Fix SolutionResult move constructor
1 parent d57a38b commit a99aebb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

include/swift/Sema/SolutionResult.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,10 @@ class SolutionResult {
7676
SolutionResult(const SolutionResult &other) = delete;
7777

7878
SolutionResult(SolutionResult &&other)
79-
: kind(other.kind), numSolutions(other.numSolutions),
80-
solutions(other.solutions) {
79+
: kind(other.kind),
80+
numSolutions(other.numSolutions),
81+
solutions(other.solutions),
82+
TooComplexAt(other.TooComplexAt) {
8183
emittedDiagnostic = false;
8284
other.kind = Error;
8385
other.numSolutions = 0;

0 commit comments

Comments
 (0)