Make QListData::shared_null const
authorBradley T. Hughes <bradley.hughes@nokia.com>
Fri, 9 Sep 2011 09:09:16 +0000 (11:09 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 26 Sep 2011 05:50:20 +0000 (07:50 +0200)
commitcc3bf12ef69c086069835585f298fe603e632aed
treed822b1e46274abcf4d339dfcc7266c77eeb11350
parentf8f501ec9853231805097a5dbaf0ea99196e8014
Make QListData::shared_null const

Similar to QMap, QVector, QByteArray and QString, keep the shared_null
in shareable memory and never modify it.

Change-Id: I2b4bb8de564080021043f6ede6c903d567c686cf
Reviewed-on: http://codereview.qt-project.org/4531
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
src/corelib/tools/qlist.cpp
src/corelib/tools/qlist.h