From 54e8e80cc38dce583324b5ed2757ccecc34c61ad Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 22 Jun 2022 07:51:49 +0200 Subject: [PATCH] Const'ref --- src/lib/adblock/adblockrule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/adblock/adblockrule.cpp b/src/lib/adblock/adblockrule.cpp index 59e24d18e..10ceac2f6 100644 --- a/src/lib/adblock/adblockrule.cpp +++ b/src/lib/adblock/adblockrule.cpp @@ -607,7 +607,7 @@ void AdBlockRule::parseDomains(const QString &domains, const QChar &separator) { const QStringList domainsList = domains.split(separator, Qt::SkipEmptyParts); - for (const QString domain : domainsList) { + for (const QString &domain : domainsList) { if (domain.isEmpty()) { continue; }