diff options
Diffstat (limited to 'src/network/ssl/qsslkey.h')
-rw-r--r-- | src/network/ssl/qsslkey.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/ssl/qsslkey.h b/src/network/ssl/qsslkey.h index e9059f9bdc..5132daeeb7 100644 --- a/src/network/ssl/qsslkey.h +++ b/src/network/ssl/qsslkey.h @@ -45,6 +45,7 @@ #include <QtCore/qnamespace.h> #include <QtCore/qbytearray.h> +#include <QtCore/qscopedpointer.h> #include <QtNetwork/qssl.h> QT_BEGIN_HEADER @@ -92,7 +93,7 @@ public: inline bool operator!=(const QSslKey &key) const { return !operator==(key); } private: - QSslKeyPrivate *d; + QScopedSharedPointer<QSslKeyPrivate> d; friend class QSslCertificate; }; |