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.5 Task-number: QTBUG-125026 Change-Id: I172aeb02d81a0f66ab724892d9f938a12f371ffa Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> (cherry picked from commit d8e86a93303244286881d732aa570cb551b230e9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
0908c2cdc0
commit
9a788df3d3
@ -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