summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/kernel/qmouseevent
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2023-02-17 15:36:51 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2023-02-17 21:34:49 +0100
commit4dbd97c8f990e8ed5714cc2a599446920670e78d (patch)
tree94650d179041c2d619accbb33fedc96cd0733ef8 /tests/auto/gui/kernel/qmouseevent
parenteb4641210c9132e736d666bd39408a5e5ead8c61 (diff)
q_uninitialized_relocate: use memcpy, not memmove
The [first, first+n) and [out, out+n) ranges cannot possibly overlap, as by definition the former contains live objects while the latter points into uninitialized storage. So we can use memcpy here, and not memmove. Change-Id: I4a1b39f73ffa67915c5252938554f45f4444293e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/gui/kernel/qmouseevent')
0 files changed, 0 insertions, 0 deletions