[Development] Important recent changes in QList/QString/QByteArray

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Thu Sep 10 15:54:34 CEST 2020


On 10/09/2020 15:38, Ville Voutilainen wrote:
> The "flag" is basically "a call to reserve was made"? How do I clear the flag?

Yes (CapacityReserved, in Qt 5). squeeze() / shrink_to_fit() were 
supposed to clear it.

HTH,
-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/development/attachments/20200910/e3f8c3af/attachment.bin>


More information about the Development mailing list