qt6-bb10/tests/auto/corelib/tools/qvector
Thiago Macieira 8abbbb4c48 Fix regression causing QVector::fill w/ same size to not detach
Caused by commit 01301b0b34, which made
vector.resize(vector.size()) not to detach, which was used by fill() and
assumed that detaching happened. The test does not test the resize()
behavior, only that fill() is not broken anymore.

[ChangeLog][QtCore][QVector] Fixed a regression that caused fill() not
to detach, corrupting shared copies.

Fixes: QTBUG-77058
Change-Id: I6aed4df6a12e43c3ac8efffd15b1b527a8007bf3
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2019-07-16 18:09:51 -07:00
..
.gitignore
qvector.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
tst_qvector.cpp Fix regression causing QVector::fill w/ same size to not detach 2019-07-16 18:09:51 -07:00