Make QMovableArrayOps::Inserter non copyable

copying it would be a mistake
QGenericArrayOps::Inserter is already mark as non copyable

Change-Id: Ib9eba5e26bf943fe82c5cfc83f0785e214d3cc67
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Albert Astals Cid 2021-03-19 16:58:27 +01:00
parent df121fd7f7
commit 9e837c936f

View File

@ -711,6 +711,7 @@ public:
data->ptr -= nInserts;
data->size += nInserts;
}
Q_DISABLE_COPY(Inserter)
T *displace(qsizetype pos, qsizetype n)
{