Fix build on older gcc
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user