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

@@ -105,7 +105,7 @@ bool addFilesToItsSourceGroups(const std::string& root,
tokenizedPath.pop_back();
if (tokenizedPath.empty()) {
tokenizedPath.push_back("");
tokenizedPath.emplace_back();
}
sg = makefile.GetOrCreateSourceGroup(tokenizedPath);