diff options
author | Sérgio Martins <sergio.martins@kdab.com> | 2014-01-08 15:20:05 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-09 10:13:01 +0100 |
commit | e2c2fcd1d18990d7d1b7286fc8f2b9f8269691e2 (patch) | |
tree | b0dbd32c702fd8e2c22be8cfca4dc365d4c01f30 /src/qml/qml/qqmlobjectcreator_p.h | |
parent | b9e891b8adec2124e9ba78555a5b79867d4e05c9 (diff) |
Classify as Q_PRIMITIVE_TYPE a few private types.
Found by clang plugin matching the criteria:
- is pod / movable
- sizeof(T) <= sizeof(void*)
- used by QList
The only case that can't be fixed is:
QList<TypeCache::Iterator> in qqmltypeloader.cpp:1924
because Iterator is declared in qhash.h:349
Maybe use a QVector ...
Change-Id: I9007cf43b0cf29ff39f3d2c95fb60d766c976ce7
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlobjectcreator_p.h')
0 files changed, 0 insertions, 0 deletions