diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-05-31 20:13:05 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-07-05 14:56:15 +0000 |
commit | 514972544a34aca0fd679b3a78521a0a1558d4e0 (patch) | |
tree | 8dbec4023d90d4022256071fadad39d67723c3c4 /src/network/ssl/qsslcertificate_qt.cpp | |
parent | fddf09363e1bbc6f6549eaf28def7699b2d87341 (diff) |
QCborArray & Map: implement move semantics
There isn't a lot of efficiency gain, since QCborValue was already
refcounted. This saves two atomic operations and an out-of-line call. In
the case of QCborValueRef (which includes QCborMap), because we reset
the container pointer in inline code, the call to QCborValue::dispose()
is also suppressed.
Change-Id: Icc2c231dc2c44abdb087fffd1533eaba7a9c70fa
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/network/ssl/qsslcertificate_qt.cpp')
0 files changed, 0 insertions, 0 deletions