summaryrefslogtreecommitdiff
path: root/tools/linguist/lupdate/cpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/linguist/lupdate/cpp.cpp')
-rw-r--r--tools/linguist/lupdate/cpp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linguist/lupdate/cpp.cpp b/tools/linguist/lupdate/cpp.cpp
index be86c93509..6c56a5659a 100644
--- a/tools/linguist/lupdate/cpp.cpp
+++ b/tools/linguist/lupdate/cpp.cpp
@@ -1969,7 +1969,7 @@ void loadCPP(Translator &translator, const QStringList &filenames, ConversionDat
CppFiles::setResults(filename, parser.getResults());
}
- foreach (const QString filename, filenames)
+ foreach (const QString &filename, filenames)
if (!CppFiles::isBlacklisted(filename))
if (Translator *tor = CppFiles::getResults(filename)->tor)
foreach (const TranslatorMessage &msg, tor->messages())