diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-09-16 16:35:12 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-10-08 10:26:36 +0200 |
| commit | 724a3cab887e4dcc455389e929ac2b97ebedb94a (patch) | |
| tree | eb630ea29e50971e95360170036bc7add48e5b48 /src/corelib/kernel/qmetaobjectbuilder.cpp | |
| parent | 2e2f5093912faf612f0be72289180b167d6326a7 (diff) | |
QSharedMemoryPrivate: fix -Wshadow in create()
Rename the function argument from size (which is also a data member of
the class) to sz, a common abbreviation in Qt.
The code predates the start of the public history, but
eaa7528baa2e40aea35c9fac9cd8f632fa251ff8 made create() an inline
function. Hopefully -Wshadow doesn't apply to mere argument
declarations, so not picking further than said commit.
Pick-to: 6.8 6.7
Task-number: QTBUG-126219
Change-Id: I637d731ba33247b7223b5d796bc170c0b87edcad
Reviewed-by: Matthias Rauter <matthias.rauter@qt.io>
Reviewed-by: Lena Biliaieva <lena.biliaieva@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetaobjectbuilder.cpp')
0 files changed, 0 insertions, 0 deletions
