File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1049,7 +1049,7 @@ readSymbolizeAndMergeCmdArguments(std::vector<std::string> FileNames) {
1049
1049
1050
1050
{
1051
1051
// Short name => file name.
1052
- std::map<std::string, std::string> ObjFiles;
1052
+ std::map<std::string, std::string, std::less<> > ObjFiles;
1053
1053
std::string FirstObjFile;
1054
1054
std::set<std::string> CovFiles;
1055
1055
@@ -1066,7 +1066,7 @@ readSymbolizeAndMergeCmdArguments(std::vector<std::string> FileNames) {
1066
1066
CovFiles.insert (FileName);
1067
1067
} else {
1068
1068
auto ShortFileName = llvm::sys::path::filename (FileName);
1069
- if (ObjFiles.find (std::string ( ShortFileName) ) != ObjFiles.end ()) {
1069
+ if (ObjFiles.find (ShortFileName) != ObjFiles.end ()) {
1070
1070
fail (" Duplicate binary file with a short name: " + ShortFileName);
1071
1071
}
1072
1072
@@ -1089,7 +1089,7 @@ readSymbolizeAndMergeCmdArguments(std::vector<std::string> FileNames) {
1089
1089
FileName);
1090
1090
}
1091
1091
1092
- auto Iter = ObjFiles.find (std::string ( Components[1 ]) );
1092
+ auto Iter = ObjFiles.find (Components[1 ]);
1093
1093
if (Iter == ObjFiles.end ()) {
1094
1094
fail (" Object file for coverage not found: " + FileName);
1095
1095
}
You can’t perform that action at this time.
0 commit comments