1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 19:08:07 +08:00

clang-tidy: Use emplace

This commit is contained in:
Regina Pfeifer
2019-01-16 07:13:07 +01:00
committed by Brad King
parent 2e5307a2a4
commit ef61997b1b
57 changed files with 266 additions and 266 deletions

View File

@@ -68,7 +68,7 @@ void cmDependsJavaParserHelper::AddClassFound(const char* sclass)
return;
}
}
this->ClassesFound.push_back(sclass);
this->ClassesFound.emplace_back(sclass);
}
void cmDependsJavaParserHelper::AddPackagesImport(const char* sclass)
@@ -78,7 +78,7 @@ void cmDependsJavaParserHelper::AddPackagesImport(const char* sclass)
return;
}
}
this->PackagesImport.push_back(sclass);
this->PackagesImport.emplace_back(sclass);
}
void cmDependsJavaParserHelper::SafePrintMissing(const char* str, int line,