diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-03-24 12:53:27 -0700 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-05 05:23:07 +0200 |
commit | f1540a2966ce911e9a5d5754e53f6026e3c26d22 (patch) | |
tree | 91c60cfa43392dac8152179434099471c4e69bca /src/corelib/QtCore.dynlist | |
parent | 3e930baa98b4382b76aea5ed6ffdcfb60cdce2d4 (diff) |
Fix capacity reservation for shared QByteArray
We can squeeze, but not by discarding elements. Make sure the size of
the object stays intact after changing the reserved capacity.
I've also added unit tests for other containers, just to be sure.
Task-number: QTBUG-37750
Change-Id: I5135b095943b7589423c51cebcb52af792468e61
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'src/corelib/QtCore.dynlist')
0 files changed, 0 insertions, 0 deletions