diff options
| -rw-r--r-- | clang/include/clang/Parse/Action.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Parse/Action.h b/clang/include/clang/Parse/Action.h index afa8bb62547..8b60eed3258 100644 --- a/clang/include/clang/Parse/Action.h +++ b/clang/include/clang/Parse/Action.h @@ -114,7 +114,7 @@ public: : Expr(move(const_cast<FullExprArg&>(Other).Expr)) {} FullExprArg &operator=(const FullExprArg& Other) { - Expr = move(const_cast<FullExprArg&>(Other).Expr); + Expr = ExprArg(move(const_cast<FullExprArg&>(Other).Expr)); return *this; } |

