QQuaternion: mark as PRIMITIVE type

Change-Id: I043fef8bfc66875b72f34e7939e78c7d1c7f5381
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Giuseppe D'Angelo 2021-02-27 18:00:25 +01:00
parent 852b070529
commit 5f501b0e97

View File

@ -169,7 +169,7 @@ private:
float wp, xp, yp, zp;
};
Q_DECLARE_TYPEINFO(QQuaternion, Q_RELOCATABLE_TYPE);
Q_DECLARE_TYPEINFO(QQuaternion, Q_PRIMITIVE_TYPE);
inline QQuaternion::QQuaternion() : wp(1.0f), xp(0.0f), yp(0.0f), zp(0.0f) {}