Skip to content

Commit 6c93a1f

Browse files
committed
format
1 parent 935af55 commit 6c93a1f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/settings.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,9 @@ static const std::set<std::string> misracpp2023Checkers{
792792
bool Settings::isPremiumEnabled(const char id[]) const
793793
{
794794
for (std::string arg: splitString(premiumArgs, ' ')) {
795-
std::transform(arg.cbegin(), arg.cend(), arg.begin(), [](char c) { return c=='+' ? 'p' : c; });
795+
std::transform(arg.cbegin(), arg.cend(), arg.begin(), [](char c) {
796+
return c=='+' ? 'p' : c;
797+
});
796798
if (endsWith(arg, ":all"))
797799
arg.erase(arg.size()-4);
798800
if (arg == "--autosar" && autosarCheckers.count(id))

0 commit comments

Comments
 (0)