Merge pull request #8570 from aarlt/clang-tidy-apply-modernize-use-emplace

clang-tidy: Apply modernize-use-emplace.
This commit is contained in:
chriseth
2020-04-07 17:28:50 +02:00
committed by GitHub
14 changed files with 33 additions and 49 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ bool isArtifactRequested(Json::Value const& _outputSelection, string const& _fil
/// for Contract-level targets try both contract name and wildcard
vector<string> contracts{ _contract };
if (!_contract.empty())
contracts.push_back("*");
contracts.emplace_back("*");
for (auto const& contract: contracts)
if (
_outputSelection[file].isMember(contract) &&