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:
Giuseppe D'Angelo 2021-06-19 12:15:41 +02:00
parent a8d7ecf295
commit 9f7f05d6b5

View File

@ -125,6 +125,8 @@ struct QTestCharBuffer
staticBuf[0] = '\0';
}
Q_DISABLE_COPY_MOVE(QTestCharBuffer)
inline ~QTestCharBuffer()
{
if (buf != staticBuf)