summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-09-23 13:18:06 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-09-23 13:44:25 (GMT)
commit061f4976c7a3f9ac86ccd289ee93fc64182de27d (patch)
tree60a9ffd321d78dc3724e5677a62b08753d36e235 /tools
parentbfdee5f1658b1bac4a0d1b93c5a45dbc6709f9e3 (diff)
downloadQt-061f4976c7a3f9ac86ccd289ee93fc64182de27d.zip
Qt-061f4976c7a3f9ac86ccd289ee93fc64182de27d.tar.gz
Qt-061f4976c7a3f9ac86ccd289ee93fc64182de27d.tar.bz2
missing & in foreach
Diffstat (limited to 'tools')
-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 be86c93..6c56a56 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())