forked from OSchip/llvm-project
Speculative fix for buildbot failure. Apparently Clang 3.1 got move semantics wrong.
llvm-svn: 206682
This commit is contained in:
parent
a9db0019a2
commit
3c326b36cc
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue