diff options
author | Marc Mutz <marc.mutz@qt.io> | 2021-12-06 16:37:02 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2021-12-07 05:33:40 +0100 |
commit | 06ba067a34c5e8ffc81b4570037c1e8d2da1768b (patch) | |
tree | 0b6669f637778dc9c461fdbbe962e5adfaf39eaa /src/corelib/global/qlogging.h | |
parent | 78df625510b73d7b7709be16f9a168ba8c3f4d19 (diff) |
QVarLengthArray: centralize index checking
Factor the assertions relating to sizes and indexes into an inline
function, verify(). This hopefully reduces the string data generated
for assertions to the bare minimum.
Change-Id: Iad5c2e587ad189e7e1a62b9ca61ada4282c44f51
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qlogging.h')
0 files changed, 0 insertions, 0 deletions