Fix an accidental self-assignment using std::move in r220723.

llvm-svn: 221008
This commit is contained in:
Kaelyn Takata 2014-10-31 22:25:09 +00:00
parent cadb77a43e
commit 4e43de4fad
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}