forked from OSchip/llvm-project
Make RedeclarableResult's ownership-transferring constructor be a move
constructor. llvm-svn: 230417
This commit is contained in:
parent
a6b8895442
commit
c89bb9dd51
|
@ -136,7 +136,7 @@ namespace clang {
|
|||
: Reader(Reader), FirstID(FirstID), MergeWith(MergeWith),
|
||||
Owning(true), DeclKind(DeclKind) {}
|
||||
|
||||
RedeclarableResult(const RedeclarableResult &Other)
|
||||
RedeclarableResult(RedeclarableResult &&Other)
|
||||
: Reader(Other.Reader), FirstID(Other.FirstID),
|
||||
MergeWith(Other.MergeWith), Owning(Other.Owning),
|
||||
DeclKind(Other.DeclKind) {
|
||||
|
|
Loading…
Reference in New Issue