Remove extra ';'
authorMilian Wolff <mail@milianw.de>
Sat, 21 Jan 2017 11:29:22 +0000 (12:29 +0100)
committerMilian Wolff <mail@milianw.de>
Sat, 21 Jan 2017 11:29:22 +0000 (12:29 +0100)
Fixes compiler warnings in pedantic mode.

src/analyze/gui/callercalleemodel.h
src/analyze/gui/flamegraph.cpp
src/analyze/gui/histogrammodel.h
src/analyze/gui/summarydata.h

index bbd5d2b..5c0408d 100644 (file)
@@ -38,7 +38,7 @@ struct CallerCalleeData
 Q_DECLARE_TYPEINFO(CallerCalleeData, Q_MOVABLE_TYPE);
 
 using CallerCalleeRows = QVector<CallerCalleeData>;
-Q_DECLARE_METATYPE(CallerCalleeRows);
+Q_DECLARE_METATYPE(CallerCalleeRows)
 
 class CallerCalleeModel : public QAbstractTableModel
 {
index 8e4e325..eef995d 100644 (file)
@@ -76,7 +76,7 @@ private:
     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)
index 6a273c6..d5c4688 100644 (file)
@@ -45,7 +45,7 @@ struct HistogramRow
     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>;
 
index 66455e4..9fd785e 100644 (file)
@@ -33,6 +33,6 @@ struct SummaryData
     int64_t peakRSS;
     int64_t totalSystemMemory;
 };
-Q_DECLARE_METATYPE(SummaryData);
+Q_DECLARE_METATYPE(SummaryData)
 
 #endif // SUMMARYDATA_H