Skip to content

Commit

Permalink
runformat
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Feb 10, 2024
1 parent 29a8a0e commit b00591d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,9 @@ bool Settings::isPremiumEnabled(const char id[]) const
void Settings::setMisraRuleTexts(const ExecuteCmdFn& executeCommand)
{
if (premiumArgs.find("--misra-c-20") != std::string::npos) {
const auto it = std::find_if(addonInfos.cbegin(), addonInfos.cend(), [](const AddonInfo& a) { return a.name == "premiumaddon.json"; });
const auto it = std::find_if(addonInfos.cbegin(), addonInfos.cend(), [](const AddonInfo& a) {
return a.name == "premiumaddon.json";
});
if (it != addonInfos.cend()) {
std::string arg;
if (premiumArgs.find("--misra-c-2023") != std::string::npos)
Expand Down

0 comments on commit b00591d

Please sign in to comment.