Fix -Wpessimizing-move by removing call to std::move

llvm-svn: 236281
This commit is contained in:
Richard Trieu 2015-04-30 23:13:52 +00:00
parent 3ffa61d576
commit d1ffdda418
1 changed files with 1 additions and 1 deletions

View File

@ -969,7 +969,7 @@ void CoverageMappingModuleGen::emit() {
llvm::sys::fs::make_absolute(Path);
auto I = Entry.second;
FilenameStrs[I] = std::move(std::string(Path.begin(), Path.end()));
FilenameStrs[I] = std::string(Path.begin(), Path.end());
FilenameRefs[I] = FilenameStrs[I];
}