From bf0b2b24a7d04f5926dfc6b8431ebbbe51df7264 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Thu, 27 May 2021 13:09:49 +0200 Subject: [PATCH] QChar: mark as PRIMITIVE type I guess the reason it was marked RELOCATABLE was to ensure initialization, which we now do anyways (even for PRIMITIVE). Change-Id: If4f2c248b7b04a301bad81588ea9a9ad06534760 Reviewed-by: Andrei Golubev Reviewed-by: Lars Knoll --- src/corelib/text/qchar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/text/qchar.h b/src/corelib/text/qchar.h index 2a899abf6b..a33bf0b674 100644 --- a/src/corelib/text/qchar.h +++ b/src/corelib/text/qchar.h @@ -639,7 +639,7 @@ private: char16_t ucs; }; -Q_DECLARE_TYPEINFO(QChar, Q_RELOCATABLE_TYPE); +Q_DECLARE_TYPEINFO(QChar, Q_PRIMITIVE_TYPE); #ifndef QT_NO_DATASTREAM Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);