Try to work around a Visual C++ bug with copy-assignment.

llvm-svn: 103190
This commit is contained in:
Douglas Gregor 2010-05-06 18:05:52 +00:00
parent cb4e3e51a9
commit 027f8d2b2d
1 changed files with 1 additions and 1 deletions

View File

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