Add a movable type declaration to QGlyphRun.
Allow it to take advantage of QList optimisations for pointer types. Change-Id: Iddbb9741efef43604e38fc3eeb08b522c0414e21 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
This commit is contained in:
parent
0a14ddfacb
commit
4dfeb18758
@ -124,6 +124,8 @@ private:
|
||||
QExplicitlySharedDataPointer<QGlyphRunPrivate> d;
|
||||
};
|
||||
|
||||
Q_DECLARE_TYPEINFO(QGlyphRun, Q_MOVABLE_TYPE);
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
QT_END_HEADER
|
||||
|
Loading…
Reference in New Issue
Block a user