From 05585ff8cf9ef090c7158af47d99df835a22686d Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Fri, 11 May 2018 13:41:46 +0300 Subject: Make explicit that MatrixClient & Cache are unique pointers --- include/Cache.h | 2 +- include/MatrixClient.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/Cache.h b/include/Cache.h index c038b3d9..a39633a8 100644 --- a/include/Cache.h +++ b/include/Cache.h @@ -438,7 +438,7 @@ private: namespace cache { void -init(const QString &userId, QObject *parent); +init(const QString &user_id); Cache * client(); diff --git a/include/MatrixClient.h b/include/MatrixClient.h index 6ed1c2c8..61e14d36 100644 --- a/include/MatrixClient.h +++ b/include/MatrixClient.h @@ -215,7 +215,7 @@ private: namespace http { //! Initialize the http module void -init(QObject *parent); +init(); //! Retrieve the client instance. MatrixClient * -- cgit 1.5.1