diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-07-05 22:33:18 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-07-07 05:22:42 +0000 |
commit | a11b6317528cb4149b385982731f21521ba8f9f9 (patch) | |
tree | 567db4ff823d3a5db41dd5e2e914569b1f2e162c /src/corelib/tools/qdatetimeparser_p.h | |
parent | 8b5cdc20be5df287f61fce25998bb5dc4bcf73fb (diff) |
QtCore: mark some more types as movable/primitive
These are already held in QVectors.
Change-Id: I6fe831ba5b75d792fd13e63ef0d2e178b52e1107
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qdatetimeparser_p.h')
-rw-r--r-- | src/corelib/tools/qdatetimeparser_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/tools/qdatetimeparser_p.h b/src/corelib/tools/qdatetimeparser_p.h index 9457e35ad5..a1cf8f283f 100644 --- a/src/corelib/tools/qdatetimeparser_p.h +++ b/src/corelib/tools/qdatetimeparser_p.h @@ -252,6 +252,7 @@ public: Qt::TimeSpec spec; // spec if used by QDateTimeEdit Context context; }; +Q_DECLARE_TYPEINFO(QDateTimeParser::SectionNode, Q_PRIMITIVE_TYPE); Q_CORE_EXPORT bool operator==(const QDateTimeParser::SectionNode &s1, const QDateTimeParser::SectionNode &s2); |