Skip to content

Commit 904b004

Browse files
committedOct 24, 2016
Fix clazy missing-typeinfo warnings
From the clazy docs: "Suggests usage of Q_PRIMITIVE_TYPE or Q_MOVABLE_TYPE in cases where you're using QList<T> and sizeof(T) > sizeof(void*) or using QVector<T>, unless they already have a type info classification."
1 parent 3272964 commit 904b004

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
 

‎src/core/pal/util.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,6 @@ namespace pal
9696

9797
} // namespace
9898

99+
Q_DECLARE_TYPEINFO( pal::Point, Q_PRIMITIVE_TYPE );
100+
99101
#endif

‎src/providers/wms/qgswmsprovider.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@ class QgsWmsStatistics
684684
static QMap<QString, Stat> sData;
685685
};
686686

687+
Q_DECLARE_TYPEINFO( QgsWmsProvider::TilePosition, Q_PRIMITIVE_TYPE );
687688

688689
#endif
689690

0 commit comments

Comments
 (0)
Please sign in to comment.