diff options
| -rw-r--r-- | clang/include/clang/AST/ExternalASTSource.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/AST/ExternalASTSource.h b/clang/include/clang/AST/ExternalASTSource.h index 8f9512947db..ec7978fcc8d 100644 --- a/clang/include/clang/AST/ExternalASTSource.h +++ b/clang/include/clang/AST/ExternalASTSource.h @@ -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; |

