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:
parent
df121fd7f7
commit
9e837c936f
@ -711,6 +711,7 @@ public:
|
||||
data->ptr -= nInserts;
|
||||
data->size += nInserts;
|
||||
}
|
||||
Q_DISABLE_COPY(Inserter)
|
||||
|
||||
T *displace(qsizetype pos, qsizetype n)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user