summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib/tools
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2012-02-17 14:18:45 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-22 09:34:26 +0100
commita5233b6b22e20bf249d8ae993a4224c6874abccf (patch)
treeea01a334d605138417d2bbb3453f619f73803bce /tests/benchmarks/corelib/tools
parent3fe1eed0537c3b08a51295b544e0620ade1eca22 (diff)
Change meaning of offset in QStringData
It used to be an index into the first element in 'd' that came after 'offset'. It is now the byte offset from the beginning of the QStringData structure. By no longer using an actual array to access characters, we also steer clear of GCC bug #43247: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43247 This aligns this data structure with QArrayData. The intention is to have QVector, QString and QByteArray share the same memory layout and possibly code. Change-Id: I4850813e1bd47c3cb670c50c9a8ccc1bff2e8597 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/benchmarks/corelib/tools')
0 files changed, 0 insertions, 0 deletions