From e9796a0b3f143f88204fd4aa5ca247baa99ce299 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Fri, 2 Sep 2022 18:29:23 +0200 Subject: RegistrationManager: Replace QScopedPointer with unique_ptr The header is already included and there are no reasons to use something different than non-Qt C++ projects use. --- src/client/QXmppRegistrationManager.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/client/QXmppRegistrationManager.h') 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 - class QXmppRegistrationManagerPrivate; /// @@ -348,7 +346,7 @@ private Q_SLOTS: private: void setSupportedByServer(bool supportedByServer); - QScopedPointer d; + const std::unique_ptr d; }; #endif // QXMPPREGISTRATIONMANAGER_H -- cgit v1.2.3