QTestCharBuffer: kill copies and moves
The compiler generated ones are broken. The RO5 exists for a reason... Change-Id: Ibaa5322a7a1ad4ad06bd00e9d1c21bbbea6eb08c Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
a8d7ecf295
commit
9f7f05d6b5
@ -125,6 +125,8 @@ struct QTestCharBuffer
|
||||
staticBuf[0] = '\0';
|
||||
}
|
||||
|
||||
Q_DISABLE_COPY_MOVE(QTestCharBuffer)
|
||||
|
||||
inline ~QTestCharBuffer()
|
||||
{
|
||||
if (buf != staticBuf)
|
||||
|
Loading…
Reference in New Issue
Block a user