summaryrefslogtreecommitdiffstats
path: root/src/corelib/text
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-05-27 13:09:49 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-05-31 17:01:42 +0200
commitbf0b2b24a7d04f5926dfc6b8431ebbbe51df7264 (patch)
tree149b8fd4e341851354a061dd354cebcdde48113a /src/corelib/text
parent8b691ce24572f4709213d880c478e444feafe3fb (diff)
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 <andrei.golubev@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/text')
-rw-r--r--src/corelib/text/qchar.h2
1 files changed, 1 insertions, 1 deletions
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);