diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2014-02-22 23:38:21 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-26 22:03:57 +0100 |
commit | bcea86b7da38b39f83bafba6f53c08409f5f09a3 (patch) | |
tree | 7ef8727c3b74cd2257cfba98a4165d4633797ad9 /src/corelib/itemmodels | |
parent | e3db3c4d78e6a82adfb13746d5177abc5d4c12d8 (diff) |
QtNetwork: add qMove() to QSharedPointer uses where applicable
QSharedPointers here are passed by value - good, since it enabled C++11 move semantics,
transparently.
However, when passing such parameters on to assignment operators or other functions,
copies were made where moves would have been sufficient. Thus, add some qMove()s.
Change-Id: Ied1a5edf1bfbb16108dfeefbe85e58ab3d4ef92f
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/corelib/itemmodels')
0 files changed, 0 insertions, 0 deletions