path: root/src/corelib/tools/qrect.h
diff options
authorThiago Macieira <>2016-05-12 19:33:00 -0700
committerThiago Macieira <>2016-06-10 17:57:17 +0000
commitcbe62a0e6d0caba8dcb0a63d3af3c458a6298e10 (patch)
treee1c8e7eedd005708cd30784308262e5ad4800ef4 /src/corelib/tools/qrect.h
parent72393ac3b6a8231d1157c58fe049606dd6c95736 (diff)
Add move constructor to QDateTime
The move constructor is slightly more interesting than the copy constructor because we can reset other to a short data state on 64-bit systems. The assembly of that function is simply: mov (%rsi),%rax mov %rax,(%rdi) movq $0x1,(%rsi) retq The move-assignment operator for QDateTime was already there. There's no need for one for QDateTime::Data since it's never called. Change-Id: I06bae9392f534e45b3f1ffff144dffdd7f23b170 Reviewed-by: Lars Knoll <>
Diffstat (limited to 'src/corelib/tools/qrect.h')
0 files changed, 0 insertions, 0 deletions