diff options
| author | Aurélien Brooke <aurelien@bahiasoft.fr> | 2025-01-24 17:08:15 +0100 |
|---|---|---|
| committer | Aurélien Brooke <aurelien@bahiasoft.fr> | 2025-01-30 10:38:51 +0100 |
| commit | ed7d59c0a266bf578c3a9203c0107ab2ed29f067 (patch) | |
| tree | 691d32b154b681cc9b0df17bebd6e761f668b11e /src/corelib/tools/qarraydatapointer.h | |
| parent | 5229cba24fff0bb348c37332e2209579e368103a (diff) | |
QArrayData: inline the allocateData function
It is already inlined by the compiler so this is a effectively a no-op.
The aim of this change is to make later work in this file cleaner and
easier to review.
Deduplicate the if check and alloc assignment, and remove the
unnecessary qsizetype cast.
Change-Id: I139f1132779ce4c583a5be689800940801142d36
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qarraydatapointer.h')
0 files changed, 0 insertions, 0 deletions
