From b00591df809a164fcb22a948ea7cf8eea669a6d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 10 Feb 2024 13:19:15 +0100 Subject: [PATCH] runformat --- lib/settings.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/settings.cpp b/lib/settings.cpp index b0c03b1fb7f..17cdd2edb0a 100644 --- a/lib/settings.cpp +++ b/lib/settings.cpp @@ -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)