From 53fb1785ce3be4c014e854659b8f39777d23b2a5 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Fri, 2 Sep 2022 18:26:02 +0200 Subject: Replace raw pointers with unique_ptr safer, simpler --- src/client/QXmppAtmTrustMemoryStorage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/QXmppAtmTrustMemoryStorage.h') 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 d; + const std::unique_ptr d; }; #endif // QXMPPATMTRUSTMEMORYSTORAGE_H -- cgit v1.2.3