diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-05-07 20:19:40 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-06 16:08:02 +0200 |
commit | 7d63fa6edcbe706bf0eab2c7e24efa1ed8940e6d (patch) | |
tree | d70ab41cbfb283b8f8ff6444dd8454d581791f81 /src/network/access/qnetworkcookie.h | |
parent | 8f2c57ddb2842c0983a36bca44c1810d58cbc370 (diff) |
QtGui: replace some copies with swaps
This provides move speed even for non-C++11 compilers and avoids
having to call the copy assignment operator from within copy ctors.
(which will result in infinite recursion when using the copy-swap idiom).
Change-Id: I379bc8bf2c72d9f986c0f17f9eef56cd592e7a06
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Diffstat (limited to 'src/network/access/qnetworkcookie.h')
0 files changed, 0 insertions, 0 deletions