mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-26 11:24:53 -08:00
replace foreach macro with standard for each loop (#5485)
This commit is contained in:
@@ -69,7 +69,7 @@ void ServerLogger::logMessage(const QString &message, void *caller)
|
||||
|
||||
if (!logFilters.trimmed().isEmpty()) {
|
||||
shouldWeSkipLine = true;
|
||||
foreach (QString logFilter, listlogFilters) {
|
||||
for (const QString &logFilter : listlogFilters) {
|
||||
if (message.contains(logFilter, Qt::CaseInsensitive)) {
|
||||
shouldWeSkipLine = false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user