Try to work around a Visual C++ bug with copy-assignment.
llvm-svn: 103190
This commit is contained in:
parent
cb4e3e51a9
commit
027f8d2b2d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue