libcef: Format with clang-tidy (see #3632)

This commit is contained in:
Marshall Greenblatt
2024-01-20 17:48:57 -05:00
parent 4ea1b6f293
commit a02d2ab3e6
158 changed files with 639 additions and 686 deletions

View File

@@ -162,8 +162,8 @@ bool IsBoringCEFSwitch(const std::string& flag) {
size_t end = flag.find("=");
size_t len = (end == std::string::npos) ? flag.length() - 2 : end - 2;
for (size_t i = 0; i < std::size(kIgnoreSwitches); ++i) {
if (flag.compare(2, len, kIgnoreSwitches[i]) == 0) {
for (auto kIgnoreSwitche : kIgnoreSwitches) {
if (flag.compare(2, len, kIgnoreSwitche) == 0) {
return true;
}
}