diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-07-22 15:17:16 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-07-27 12:35:50 -0700 |
commit | b665ffbce2bf6af92d1189cfadc36d356e21fcfa (patch) | |
tree | 8f5e0fd1b19567862723eb3c245c90188f651cb0 /src/corelib/kernel/qvariant_p.h | |
parent | 011570285a22661e5d353cb8527392de01981a78 (diff) |
QVariant: optimize copying for trivially copyable payloads
If the payload is trivially copyable and is using the internal space,
then it's already been copied by the copying of QVariant::Private. No
further work is needed.
Change-Id: I3859764fed084846bcb0fffd170446a4e474efb7
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib/kernel/qvariant_p.h')
0 files changed, 0 insertions, 0 deletions