summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent.h
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-06-06 00:27:44 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-07-13 01:32:53 +0200
commit43fa292ff621550d0977908b499fb54096251825 (patch)
tree7f4f06e5dc4f70dc01080ac2b78a4c617172c1b5 /src/gui/kernel/qevent.h
parent23444d4b26a13677a2029a2b5a53bfae76647b71 (diff)
QVariant::setValue(): enable move semantics
Given we optimize for the case where the new value is of the same type of the one already stored in the variant, enable move assignment for that case. As a drive-by, avoid a path to detach() for data() if we know we're detached. Change-Id: I9abbdc10637ce77ebb747b49d83e1ef914d997bb Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/kernel/qevent.h')
0 files changed, 0 insertions, 0 deletions