1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 15:34:57 -04:00

Fixed range-loop-construct warnings in GCC 11

This commit is contained in:
f4exb
2021-12-27 19:04:23 +01:00
parent 766695d99d
commit 63bea7734b
4 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ QHash<QString, int> CSV::readHeader(QTextStream &in, QStringList requiredColumns
colNumbers.insert(row[i], i);
}
// Check all required columns exist
for (const auto col : requiredColumns)
for (const auto& col : requiredColumns)
{
if (!colNumbers.contains(col)) {
error = QString("Missing column %1").arg(col);