summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowscontext.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2018-02-10 10:08:16 -0800
committerAapo Keskimolo <aapo.keskimolo@qt.io>2018-03-19 20:36:59 +0000
commit323b00e38c38cc864d136d70befd106400c50163 (patch)
treee5a70027605034e7127298034a33bf358623b814 /src/plugins/platforms/windows/qwindowscontext.cpp
parentdabc76de80e3b433a1a8e2354ca78a34389ea9f8 (diff)
QSharedDataPointer: use swap-and-move in the move constructor
This makes the pointer that was in the moved-into object be destroyed before the return of this function (if the reference count was 1), instead of letting it live in the moved-from object. Task-number: QTBUG-66322 Change-Id: I3debfc11127e4516b505fffd151209292bd3adaa Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowscontext.cpp')
0 files changed, 0 insertions, 0 deletions