diff options
| author | Ivan Solovev <ivan.solovev@qt.io> | 2024-02-01 17:47:52 +0100 |
|---|---|---|
| committer | Ivan Solovev <ivan.solovev@qt.io> | 2024-02-05 21:52:33 +0100 |
| commit | 83f0796192d9f0ed3bc005dbcf68b98de62955b8 (patch) | |
| tree | a701f785b720874d61e0e2903bd4bd2d46dcd1c0 /src/dbus/doc/snippets/code | |
| parent | 4dbc267945df841508a217fbdb6faf15c6f457fc (diff) | |
Implement QCborContainerPrivate::compact()
... and use it in QCborContainerPrivate::replaceAt_complex() to avoid
unconstrained memory growth in certain scenarios.
Remove the `reserved` parameter, because it was referring to the
elements array, not to the byte data, so it cannot really be used
in the implementation.
Fixes: QTBUG-109073
Pick-to: 6.7
Change-Id: I2e8fe7e4a4bf7a0ce06c87ca657f2bc01bae0341
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/dbus/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
