summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglprogrambinarycache.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2025-03-04 14:59:48 +0100
committerMarc Mutz <marc.mutz@qt.io>2025-03-10 18:27:24 +0100
commit82d4a81df19fe9aff9d3b1790c2b371a3efc0a99 (patch)
tree1d89fc87771569b6c57afd8bbae06bc5026450f8 /src/gui/opengl/qopenglprogrambinarycache.cpp
parentc170381f33f85c23c4f98c3462d3a20c5b1e48f8 (diff)
QMovableArrayOps::Inserter cleanup [1/3]: inline displace()
Since the ctor is now the only caller of displace(), we can inline the latter into the former, using ctor-init-list to initialize the members. Also fix decltype(bytes) to be size_t, which is what memmove(), the only user of the value, expects, and ptrdiff_t * sizeof(T) yields (found by GCC -Wnarrowing complaining). Pick-to: 6.9 6.8 6.5 Change-Id: I3f93e28eebc6deefee8a182eb71a3b0958718ba0 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/opengl/qopenglprogrambinarycache.cpp')
0 files changed, 0 insertions, 0 deletions