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:
parent
a99b9aedf1
commit
d8e86a9330
@ -30,6 +30,7 @@ QT_BEGIN_NAMESPACE
|
||||
class QSslContext
|
||||
{
|
||||
public:
|
||||
Q_DISABLE_COPY_MOVE(QSslContext)
|
||||
|
||||
~QSslContext();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user