diff options
author | Sérgio Martins <sergio.martins@kdab.com> | 2014-01-07 01:44:09 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-08 01:24:33 +0100 |
commit | cd44f363ffd71f402265a03e7168f9774033a664 (patch) | |
tree | 852c943f8366e9a1ea151edff616c51fac7dca39 /src/corelib/tools/qtimezoneprivate_tz.cpp | |
parent | 2433ee06efdcd93b55d7005a96b7e5f6783cefe6 (diff) |
Mark QTzType as Q_PRIMITIVE_TYPE.
sizeof(QTzType) == sizeof(void*) on my platform, so it will benefit
from the type info classification.
Change-Id: I07146372da4381dba72da3718bc9c0b76a22b4fb
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/tools/qtimezoneprivate_tz.cpp')
-rw-r--r-- | src/corelib/tools/qtimezoneprivate_tz.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/tools/qtimezoneprivate_tz.cpp b/src/corelib/tools/qtimezoneprivate_tz.cpp index 1fb6bb1b5a..a1607f6577 100644 --- a/src/corelib/tools/qtimezoneprivate_tz.cpp +++ b/src/corelib/tools/qtimezoneprivate_tz.cpp @@ -134,6 +134,8 @@ struct QTzType { bool tz_ttisgmt; // Is in UTC time bool tz_ttisstd; // Is in Standard time }; +Q_DECLARE_TYPEINFO(QTzType, Q_PRIMITIVE_TYPE); + // TZ File parsing |