diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-09-02 18:29:23 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-09-02 18:55:47 +0200 |
| commit | e9796a0b3f143f88204fd4aa5ca247baa99ce299 (patch) | |
| tree | 8fa356043061bf0ce1a0e2670c10a4e832a81b61 /src/client/QXmppRegistrationManager.h | |
| parent | 53fb1785ce3be4c014e854659b8f39777d23b2a5 (diff) | |
| download | qxmpp-e9796a0b3f143f88204fd4aa5ca247baa99ce299.tar.gz | |
RegistrationManager: Replace QScopedPointer with unique_ptr
The <memory> header is already included and there are no reasons to use
something different than non-Qt C++ projects use.
Diffstat (limited to 'src/client/QXmppRegistrationManager.h')
| -rw-r--r-- | src/client/QXmppRegistrationManager.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/QXmppRegistrationManager.h b/src/client/QXmppRegistrationManager.h index 4a10ffb7..2a844593 100644 --- a/src/client/QXmppRegistrationManager.h +++ b/src/client/QXmppRegistrationManager.h @@ -9,8 +9,6 @@ #include "QXmppClientExtension.h" #include "QXmppRegisterIq.h" -#include <QScopedPointer> - class QXmppRegistrationManagerPrivate; /// @@ -348,7 +346,7 @@ private Q_SLOTS: private: void setSupportedByServer(bool supportedByServer); - QScopedPointer<QXmppRegistrationManagerPrivate> d; + const std::unique_ptr<QXmppRegistrationManagerPrivate> d; }; #endif // QXMPPREGISTRATIONMANAGER_H |
