Remove default allocation size for PODVector.
authorGlenn Watson <glenn.watson@nokia.com>
Tue, 26 Jun 2012 00:01:39 +0000 (10:01 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 26 Jun 2012 00:09:21 +0000 (02:09 +0200)
commit9fd34288efdbb5c77d002408dd83bccbd654292f
tree44f4e76490c6112e57927acefcbcf869a2997957
parentc0d780426622d21dc4d87f3a543adf03076faae2
Remove default allocation size for PODVector.

The default increment was 1024, which can waste memory. Remove
the default value so that clients must explicitly set the allocation
increment.

The original bug is no longer relevant, as capture properties are
now stored in a linked list rather than a POD vector.

Task-number: QTBUG-20285
Change-Id: Iadb0b40af19fed36ccc05249461acc7e870dcbc3
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
src/qml/qml/ftw/qpodvector_p.h