forked from OSchip/llvm-project
Fix -Wpessimizing-move by removing call to std::move
llvm-svn: 236281
This commit is contained in:
parent
3ffa61d576
commit
d1ffdda418
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue