Use std::move on these arguments.

llvm-svn: 248076
This commit is contained in:
Adrian Prantl 2015-09-19 00:59:19 +00:00
parent f3057583e8
commit 532365abe8
1 changed files with 2 additions and 2 deletions

View File

@ -149,8 +149,8 @@ public:
ASTSourceDescriptor(){};
ASTSourceDescriptor(std::string Name, std::string Path, std::string ASTFile,
uint64_t Signature)
: FullModuleName(Name), Path(Path), ASTFile(ASTFile),
Signature(Signature){};
: FullModuleName(std::move(Name)), Path(std::move(Path)),
ASTFile(std::move(ASTFile)), Signature(Signature){};
ASTSourceDescriptor(const Module &M);
std::string FullModuleName;
std::string Path;