summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qdatetime.h
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-11 22:55:30 +0200
commitc501eb8bece9c9de37f7f0839a8396fbfa697fec (patch)
treec825e7eafeea3e2516a98001b8c332e57024daa6 /src/corelib/tools/qdatetime.h
parent0b2bd6be6c1c4a97209078e22cac68b61bedd9f5 (diff)
QNetworkAccessManager: optimize QNetworkAccessAuthenticationManager 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: I58196b6390dcc9bd52417e279fd9e000ab9ee9cc Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/corelib/tools/qdatetime.h')
0 files changed, 0 insertions, 0 deletions