summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/include/clang/Sema/SemaInternal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Sema/SemaInternal.h b/clang/include/clang/Sema/SemaInternal.h
index 8c75264a816..321d9364fa1 100644
--- a/clang/include/clang/Sema/SemaInternal.h
+++ b/clang/include/clang/Sema/SemaInternal.h
@@ -275,7 +275,7 @@ inline Sema::TypoExprState &Sema::TypoExprState::operator=(
Sema::TypoExprState &&other) LLVM_NOEXCEPT {
Consumer = std::move(other.Consumer);
DiagHandler = std::move(other.DiagHandler);
- RecoveryHandler = std::move(RecoveryHandler);
+ RecoveryHandler = std::move(other.RecoveryHandler);
return *this;
}
OpenPOWER on IntegriCloud