mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
DepScanner: use emplace_back instead of push_back. rdar://64227623
This commit is contained in:
@@ -164,7 +164,7 @@ static std::vector<ModuleDependencyID> resolveDirectDependencies(
|
||||
/*onlyClangModule=*/false,
|
||||
cache,
|
||||
ASTDelegate)) {
|
||||
result.push_back({overlayName.str(), found->getKind()});
|
||||
result.emplace_back(overlayName.str(), found->getKind());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user