summaryrefslogtreecommitdiffstats
path: root/src/sql/kernel/qsqldatabase.cpp
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <[email protected]>2023-12-19 12:44:06 +0100
committerGiuseppe D'Angelo <[email protected]>2024-02-10 10:19:21 +0100
commitf221ac04c5ab6ca24648321fdb1c58107262758d (patch)
tree252b1b34f49edb7b4267abd693a1e76fdb1c1a74 /src/sql/kernel/qsqldatabase.cpp
parent7dec8f74a0ab383dd5ba60cbca41c244d69fe83e (diff)
QPixelLayout: remove explicit array sizes
For qPixelLayouts, there's a static_assert right below it that checks that the array has a specific size, as a guard for extending QImage::NImageFormats without also extending the array. Giving an explicit size to qPixelLayouts defeats the entire purpose. For the other arrays of function pointers, drop the sizing and add the missing static_asserts. Use std::size as a drive-by. This work has been kindly sponsored by the QGIS project (https://qgis.org/). Change-Id: Ic791a706a8ae964e3aee482f23b7eeeedf97bdc6 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Allan Sandfeld Jensen <[email protected]>
Diffstat (limited to 'src/sql/kernel/qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions