Fixes compiler warnings in pedantic mode.
Q_DECLARE_TYPEINFO(CallerCalleeData, Q_MOVABLE_TYPE);
using CallerCalleeRows = QVector<CallerCalleeData>;
-Q_DECLARE_METATYPE(CallerCalleeRows);
+Q_DECLARE_METATYPE(CallerCalleeRows)
class CallerCalleeModel : public QAbstractTableModel
{
bool m_isHovered;
};
-Q_DECLARE_METATYPE(FrameGraphicsItem*);
+Q_DECLARE_METATYPE(FrameGraphicsItem*)
FrameGraphicsItem::FrameGraphicsItem(const qint64 cost, CostType costType, const QString& function, FrameGraphicsItem* parent)
: QGraphicsRectItem(parent)
std::array<HistogramColumn, NUM_COLUMNS> columns;
};
Q_DECLARE_TYPEINFO(HistogramRow, Q_MOVABLE_TYPE);
-Q_DECLARE_METATYPE(HistogramRow);
+Q_DECLARE_METATYPE(HistogramRow)
using HistogramData = QVector<HistogramRow>;
int64_t peakRSS;
int64_t totalSystemMemory;
};
-Q_DECLARE_METATYPE(SummaryData);
+Q_DECLARE_METATYPE(SummaryData)
#endif // SUMMARYDATA_H