From bed8c5d678bc73bede59bbddf5e8b6af05185780 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Tue, 30 Jun 2020 09:28:38 +0200 Subject: Switch to qvla where it makes sense in rhi For all of these we know in advance that the vast majority of usages will not exceed a certain number of elements. Also, none of these are copied or moved ever. Change-Id: I48aedf143e221dc178d661e23454d1e4fb7a271b Reviewed-by: Andy Nichols --- src/gui/rhi/qrhi_p_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/rhi/qrhi_p_p.h') diff --git a/src/gui/rhi/qrhi_p_p.h b/src/gui/rhi/qrhi_p_p.h index 552e2695ce..b5cf660409 100644 --- a/src/gui/rhi/qrhi_p_p.h +++ b/src/gui/rhi/qrhi_p_p.h @@ -228,7 +228,7 @@ private: QBitArray resUpdPoolMap; QSet resources; QSet pendingDeleteResources; - QList cleanupCallbacks; + QVarLengthArray cleanupCallbacks; friend class QRhi; friend class QRhiResourceUpdateBatchPrivate; -- cgit v1.2.3