diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-06-25 21:22:19 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2019-12-08 18:20:11 +0100 |
commit | eab6eb64d2fab21c4791738323ca7d670a907de1 (patch) | |
tree | 979fddf65029409db1adba51363b769066783ccf /src/corelib/text/qstringliteral.h | |
parent | 00fbc087dd54b31e97b1557766b037b00120c43f (diff) |
Final removal of the size and offset members from QArrayData
Those members are not required anymore and now part of the
object itself.
Change-Id: If9eb5355ca8f2cf9528f6f63ca4e172acc9f9aed
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/corelib/text/qstringliteral.h')
-rw-r--r-- | src/corelib/text/qstringliteral.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qstringliteral.h b/src/corelib/text/qstringliteral.h index a8cf8e2c64..61570fe042 100644 --- a/src/corelib/text/qstringliteral.h +++ b/src/corelib/text/qstringliteral.h @@ -64,7 +64,7 @@ Q_STATIC_ASSERT_X(sizeof(qunicodechar) == 2, ([]() noexcept -> QString { \ enum { Size = sizeof(QT_UNICODE_LITERAL(str))/2 - 1 }; \ static const QArrayData qstring_literal = { \ - Q_BASIC_ATOMIC_INITIALIZER(-1), QArrayData::StaticDataFlags, Size, 0, sizeof(QArrayData) \ + Q_BASIC_ATOMIC_INITIALIZER(-1), QArrayData::StaticDataFlags, 0 \ }; \ QStringPrivate holder = { \ const_cast<QArrayData *>(&qstring_literal), \ |