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.cpp | |
| 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.cpp')
| -rw-r--r-- | src/client/QXmppRegistrationManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/QXmppRegistrationManager.cpp b/src/client/QXmppRegistrationManager.cpp index 6dd00fd0..24504010 100644 --- a/src/client/QXmppRegistrationManager.cpp +++ b/src/client/QXmppRegistrationManager.cpp @@ -44,7 +44,7 @@ QXmppRegistrationManagerPrivate::QXmppRegistrationManagerPrivate() /// Default constructor. /// QXmppRegistrationManager::QXmppRegistrationManager() - : d(new QXmppRegistrationManagerPrivate) + : d(std::make_unique<QXmppRegistrationManagerPrivate>()) { } |
