summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2012-02-17 14:11:28 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-21 00:37:58 +0100
commit4c8a4058c359c8d163c643120426079fc80c8214 (patch)
tree282de013f6e6caa4ee2071335bda367fbd944a4f /dist
parentebeebe212624b0d6fb87266629dce20ee75391bd (diff)
Change meaning of offset in QByteArrayData
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 QByteArrayData 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: I8546e5f51cd2161ba09bd4ada174b7f5e6f09db7 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions