Fix pair construction with an implicit constructor inside.

This commit is contained in:
Tres Popp 2022-01-18 18:00:47 +01:00
parent c6fb636667
commit 262cc74e0b

View File

@ -469,7 +469,7 @@ void GenericTaintRuleParser::consumeRulesFromConfig(const Config &C,
llvm::SmallVector<const char *, 2> CallDescParts{NameParts.size()};
llvm::transform(NameParts, CallDescParts.begin(),
[](SmallString<32> &S) { return S.c_str(); });
Rules.emplace_back(CallDescParts, std::move(Rule));
Rules.emplace_back(CallDescription(CallDescParts), std::move(Rule));
}
void GenericTaintRuleParser::parseConfig(const std::string &Option,