[cfe-commits] r103190 - /cfe/trunk/include/clang/Parse/Action.h
Douglas Gregor
dgregor at apple.com
Thu May 6 11:05:52 PDT 2010
Author: dgregor
Date: Thu May 6 13:05:52 2010
New Revision: 103190
URL: http://llvm.org/viewvc/llvm-project?rev=103190&view=rev
Log:
Try to work around a Visual C++ bug with copy-assignment.
Modified:
cfe/trunk/include/clang/Parse/Action.h
Modified: cfe/trunk/include/clang/Parse/Action.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Parse/Action.h?rev=103190&r1=103189&r2=103190&view=diff
==============================================================================
--- cfe/trunk/include/clang/Parse/Action.h (original)
+++ cfe/trunk/include/clang/Parse/Action.h Thu May 6 13:05:52 2010
@@ -114,7 +114,7 @@
: 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;
}
More information about the cfe-commits
mailing list