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."
This commit is contained in:
Nyall Dawson 2016-10-24 08:50:46 +10:00
parent 3272964f58
commit 904b004de9
2 changed files with 3 additions and 0 deletions

View File

@ -96,4 +96,6 @@ namespace pal
} // namespace
Q_DECLARE_TYPEINFO( pal::Point, Q_PRIMITIVE_TYPE );
#endif

View File

@ -684,6 +684,7 @@ class QgsWmsStatistics
static QMap<QString, Stat> sData;
};
Q_DECLARE_TYPEINFO( QgsWmsProvider::TilePosition, Q_PRIMITIVE_TYPE );
#endif