Fix build on older gcc

This commit is contained in:
2022-06-17 09:54:50 +02:00
parent 19ed5ae1a4
commit 0f182900c2
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -299,7 +299,7 @@ bool Database::indexFile(const QFileInfo &file)
}
QVariantList file_id, keys, values, comments;
for(auto &record : info.fitsHeader)
for(const auto &record : info.fitsHeader)
{
file_id << last_id;
keys << QString(record.key);