Disable copy and move operations in QSslContext

The class has a custom destructor, we should handle the other special
member functions as well.

Found by an Axivion scan.

Pick-to: 6.8 6.5
Task-number: QTBUG-125026
Change-Id: I172aeb02d81a0f66ab724892d9f938a12f371ffa
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
Mate Barany 2024-06-25 16:32:31 +02:00
parent a99b9aedf1
commit d8e86a9330

View File

@ -30,6 +30,7 @@ QT_BEGIN_NAMESPACE
class QSslContext
{
public:
Q_DISABLE_COPY_MOVE(QSslContext)
~QSslContext();