aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/encryptionmanager.cpp2
-rw-r--r--lib/room.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/encryptionmanager.cpp b/lib/encryptionmanager.cpp
index 719add1d..3c3103a7 100644
--- a/lib/encryptionmanager.cpp
+++ b/lib/encryptionmanager.cpp
@@ -69,7 +69,7 @@ public:
UploadKeysJob* uploadOneTimeKeysJob = nullptr;
QueryKeysJob* queryKeysJob = nullptr;
- QScopedPointer<QOlmAccount> olmAccount;
+ std::unique_ptr<QOlmAccount> olmAccount;
float signedKeysProportion;
float oneTimeKeyThreshold;
diff --git a/lib/room.cpp b/lib/room.cpp
index a8a7fe0c..1a7a9911 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -66,8 +66,8 @@
#ifdef Quotient_E2EE_ENABLED
#include "crypto/qolmaccount.h"
-# include "crypto/qolmerrors.h"
-# include "crypto/qolminboundsession.h"
+#include "crypto/qolmerrors.h"
+#include "crypto/qolminboundsession.h"
#endif // Quotient_E2EE_ENABLED
using namespace Quotient;