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;
|
QVariantList file_id, keys, values, comments;
|
||||||
for(auto &record : info.fitsHeader)
|
for(const auto &record : info.fitsHeader)
|
||||||
{
|
{
|
||||||
file_id << last_id;
|
file_id << last_id;
|
||||||
keys << QString(record.key);
|
keys << QString(record.key);
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
#include <QTreeWidget>
|
#include <QTreeWidget>
|
||||||
#include <wcslib/wcs.h>
|
#include <wcslib/wcs.h>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
namespace pcl { class FITSHeaderKeyword; }
|
namespace pcl { class FITSHeaderKeyword; }
|
||||||
|
|
||||||
@@ -13,6 +14,7 @@ struct FITSRecord
|
|||||||
QVariant value;
|
QVariant value;
|
||||||
QByteArray comment;
|
QByteArray comment;
|
||||||
bool editable() const;
|
bool editable() const;
|
||||||
|
FITSRecord(){}
|
||||||
FITSRecord(const QByteArray &key, const QVariant &value, const QByteArray &comment);
|
FITSRecord(const QByteArray &key, const QVariant &value, const QByteArray &comment);
|
||||||
FITSRecord(const pcl::FITSHeaderKeyword &record);
|
FITSRecord(const pcl::FITSHeaderKeyword &record);
|
||||||
QByteArray valueToByteArray() const;
|
QByteArray valueToByteArray() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user