diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-09-02 18:26:02 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-09-02 18:55:44 +0200 |
| commit | 53fb1785ce3be4c014e854659b8f39777d23b2a5 (patch) | |
| tree | 81d6b1050ced8e702fbe6a645efe1e63bb3757c3 /src/client/QXmppAtmTrustMemoryStorage.h | |
| parent | 6bd74d69ddbf68871fdcb8a2705298e350056208 (diff) | |
| download | qxmpp-53fb1785ce3be4c014e854659b8f39777d23b2a5.tar.gz | |
Replace raw pointers with unique_ptr
safer, simpler
Diffstat (limited to 'src/client/QXmppAtmTrustMemoryStorage.h')
| -rw-r--r-- | src/client/QXmppAtmTrustMemoryStorage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/QXmppAtmTrustMemoryStorage.h b/src/client/QXmppAtmTrustMemoryStorage.h index 432c2058..9d309e2a 100644 --- a/src/client/QXmppAtmTrustMemoryStorage.h +++ b/src/client/QXmppAtmTrustMemoryStorage.h @@ -27,7 +27,7 @@ public: /// \endcond private: - std::unique_ptr<QXmppAtmTrustMemoryStoragePrivate> d; + const std::unique_ptr<QXmppAtmTrustMemoryStoragePrivate> d; }; #endif // QXMPPATMTRUSTMEMORYSTORAGE_H |
