forked from OSchip/llvm-project
Fix an accidental self-assignment using std::move in r220723.
llvm-svn: 221008
This commit is contained in:
parent
cadb77a43e
commit
4e43de4fad
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue