diff options
| -rw-r--r-- | clang/include/clang/Sema/SemaInternal.h | 2 |
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; } |

