diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-05-11 14:59:29 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-05-18 13:22:43 (GMT) |
commit | a07385de15636e41de51d5d9df1faeb0c76a5537 (patch) | |
tree | c85dca776386f5c235db86f4b51992c03c2cb69c /doc/src/snippets/code | |
parent | 020b02a16aa69fad173a3b32ec98f05e9a33034d (diff) | |
download | Qt-a07385de15636e41de51d5d9df1faeb0c76a5537.zip Qt-a07385de15636e41de51d5d9df1faeb0c76a5537.tar.gz Qt-a07385de15636e41de51d5d9df1faeb0c76a5537.tar.bz2 |
Fix warning on QVector with gcc4.4
Use QVectorData whenever possible instead of QVectorTypedData.
It is not safe to convert the shared_null to QVectorTypedData as
different instance of qvector with different type may cast it in the
same function (because everything is inline) and that would break strict
aliasing.
Reviewed-by: Thiago
Reviewed-by: Brad
Diffstat (limited to 'doc/src/snippets/code')
0 files changed, 0 insertions, 0 deletions