Skip to content
Permalink
Browse files
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."
  • Loading branch information
nyalldawson committed Oct 24, 2016
1 parent 3272964 commit 904b004de9a9803a00d521ced1394c57d75c4561
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
@@ -96,4 +96,6 @@ namespace pal

} // namespace

Q_DECLARE_TYPEINFO( pal::Point, Q_PRIMITIVE_TYPE );

#endif
@@ -684,6 +684,7 @@ class QgsWmsStatistics
static QMap<QString, Stat> sData;
};

Q_DECLARE_TYPEINFO( QgsWmsProvider::TilePosition, Q_PRIMITIVE_TYPE );

#endif

0 comments on commit 904b004

Please sign in to comment.