diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-04-19 04:28:00 +0000 | 
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-04-19 04:28:00 +0000 | 
| commit | 3c326b36cc5c811d7ad9448e409a9c255ac890e4 (patch) | |
| tree | 20efa87c98aee581fd73b824ef73454e1c682cd8 | |
| parent | a9db0019a24123125cd0fccad84fd981bbfbff28 (diff) | |
| download | bcm5719-llvm-3c326b36cc5c811d7ad9448e409a9c255ac890e4.tar.gz bcm5719-llvm-3c326b36cc5c811d7ad9448e409a9c255ac890e4.zip  | |
Speculative fix for buildbot failure. Apparently Clang 3.1 got move semantics wrong.
llvm-svn: 206682
| -rw-r--r-- | clang/include/clang/AST/ASTVector.h | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/include/clang/AST/ASTVector.h b/clang/include/clang/AST/ASTVector.h index 088d1348bc1..1490a13f843 100644 --- a/clang/include/clang/AST/ASTVector.h +++ b/clang/include/clang/AST/ASTVector.h @@ -58,7 +58,8 @@ public:      reserve(C, N);    } -  ASTVector &operator=(ASTVector O) { +  ASTVector &operator=(ASTVector &&RHS) { +    ASTVector O(std::move(RHS));      using std::swap;      swap(Begin, O.Begin);      swap(End, O.End);  | 

