summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/brush/gradientcreationsnippet.cpp
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2020-08-27 12:53:20 +0200
committerAndrei Golubev <andrei.golubev@qt.io>2020-08-29 14:20:05 +0200
commit7f3c0d8a050c20d822f92cb3f2489c53f966087f (patch)
treec736b1ca26861d5f5d48a80fe23f6ee1de6c11e4 /src/gui/doc/snippets/brush/gradientcreationsnippet.cpp
parent5911335756dff5a917e4a7ccf025816c08ddd656 (diff)
Reserve extra space for '\0' in QArrayData::allocate
Added implicit space reservation for '\0' in allocation functions used by containers. In current setting, this means sizeof(char16_t) bytes extra memory is allocated each time and implicitly exists. The extra memory is uninitialized by default Task-number: QTBUG-84320 Change-Id: Ia3cc268183c00ea24ea9d326db3f392f71868d52 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/brush/gradientcreationsnippet.cpp')
0 files changed, 0 insertions, 0 deletions