summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforminputcontexts
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2014-03-11 23:17:56 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-10 01:03:05 +0200
commita74e4b85be83e2da47f4a1d8fcf0e78079335b80 (patch)
tree9f34ee4bdba9d8855aaf276993a0649fdaa6c224 /src/plugins/platforminputcontexts
parente41c6e65b52f1672c63d7d696d80e53030c17ebf (diff)
QNetworkReplyImpl: optimize QRingBuffer allocation
Use QSharedPointer<T>::create(), which co-locates the refcount with the payload in a single memory allocation, instead of QSharedPointer<T>(new T), which causes two allocations. Change-Id: I84980e98c4fe9773f12533983937eafa0b0ab250 Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
Diffstat (limited to 'src/plugins/platforminputcontexts')
0 files changed, 0 insertions, 0 deletions