summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-05-21 10:05:15 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-05-23 07:49:36 (GMT)
commit1ec8acd77b6c048f5a68887ac7750b0764ade598 (patch)
tree8b932e3b11e8b063607f80b6f0c042b4b04bafa8 /src/corelib
parente06bc69870d1ef79466557dd716ec1edb0e48fee (diff)
downloadQt-1ec8acd77b6c048f5a68887ac7750b0764ade598.zip
Qt-1ec8acd77b6c048f5a68887ac7750b0764ade598.tar.gz
Qt-1ec8acd77b6c048f5a68887ac7750b0764ade598.tar.bz2
Remove Q_PACKED from QChar and QLocale::Data.
Reviewed-by: Olivier Goffart
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/tools/qchar.h6
-rw-r--r--src/corelib/tools/qlocale.h6
2 files changed, 2 insertions, 10 deletions
diff --git a/src/corelib/tools/qchar.h b/src/corelib/tools/qchar.h
index 205f911..b9e7e01 100644
--- a/src/corelib/tools/qchar.h
+++ b/src/corelib/tools/qchar.h
@@ -358,11 +358,7 @@ private:
QChar(uchar c);
#endif
ushort ucs;
-}
-#if (defined(__arm__) || defined(__ARMEL__))
- Q_PACKED
-#endif
- ;
+};
Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE);
diff --git a/src/corelib/tools/qlocale.h b/src/corelib/tools/qlocale.h
index 5023201..f2fd892 100644
--- a/src/corelib/tools/qlocale.h
+++ b/src/corelib/tools/qlocale.h
@@ -685,11 +685,7 @@ public:
struct Data {
quint16 index;
quint16 numberOptions;
- }
-#if (defined(__arm__) || defined(__ARMEL__))
- Q_PACKED
-#endif
- ;
+ };
private:
friend struct QLocalePrivate;
// ### We now use this field to pack an index into locale_data and NumberOptions.