From cd44f363ffd71f402265a03e7168f9774033a664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Martins?= Date: Tue, 7 Jan 2014 01:44:09 +0000 Subject: [PATCH] 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 --- src/corelib/tools/qtimezoneprivate_tz.cpp | 2 ++ 1 file changed, 2 insertions(+) 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