diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-06-30 12:11:38 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-06-30 15:21:16 (GMT) |
commit | e0463464773f5eb2bda98a467a9c91092a1f1964 (patch) | |
tree | 4d7571afc8b10bfb1099c2b2b31e690a47e59cfb | |
parent | 3687425e541bd5f78c7baf63cfa5b1ba4d9ad29e (diff) | |
download | Qt-e0463464773f5eb2bda98a467a9c91092a1f1964.zip Qt-e0463464773f5eb2bda98a467a9c91092a1f1964.tar.gz Qt-e0463464773f5eb2bda98a467a9c91092a1f1964.tar.bz2 |
const ref for foreach()
-rw-r--r-- | tools/linguist/lupdate/cpp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linguist/lupdate/cpp.cpp b/tools/linguist/lupdate/cpp.cpp index eb743c2..09148e7 100644 --- a/tools/linguist/lupdate/cpp.cpp +++ b/tools/linguist/lupdate/cpp.cpp @@ -1799,7 +1799,7 @@ void loadCPP(Translator &translator, const QStringList &filenames, ConversionDat ? translator.codecName() : cd.m_codecForSource; QTextCodec *codec = QTextCodec::codecForName(codecName); - foreach (const QString filename, filenames) { + foreach (const QString &filename, filenames) { if (CppFiles::getResults(filename) || CppFiles::isBlacklisted(filename)) continue; |