diff options
-rw-r--r-- | include/clang/Parse/Action.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h index afa8bb6254..8b60eed325 100644 --- a/include/clang/Parse/Action.h +++ b/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; } |