summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-16 14:44:41 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-16 18:10:39 (GMT)
commit02135be18f3c4b1d1525aff6dfe96c9c8521084d (patch)
tree46dce069dfee63d0fe343af4ad12a548f8bbda8f /tests
parent5af4e7d0e44be7d35c38c439fa9fc42f54ccd09b (diff)
downloadQt-02135be18f3c4b1d1525aff6dfe96c9c8521084d.zip
Qt-02135be18f3c4b1d1525aff6dfe96c9c8521084d.tar.gz
Qt-02135be18f3c4b1d1525aff6dfe96c9c8521084d.tar.bz2
avoid double reallocations in appending operations
operator+=() and co. would first detach, and then realloc if they found the reservation too small. in particular, appending anything to an empty list would trigger this double reallocation (first copy shared_null, then grow the copy). Reviewed-by: joao Reviewed-by: denis
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions