diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-10-22 19:03:55 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-10-22 19:03:55 +0300 |
commit | c0e55378c31321e2ab7a117cefb3bd63a609e474 (patch) | |
tree | ef6f08864d713a4fc6dc49b24018156abfdec048 /include/Cache.h | |
parent | 160fe1d668d9c1fa8f089cec34df29c2ba31a56f (diff) |
Remove extra inline keywords
Diffstat (limited to 'include/Cache.h')
-rw-r--r-- | include/Cache.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/include/Cache.h b/include/Cache.h index 3a98fddc..69d880f5 100644 --- a/include/Cache.h +++ b/include/Cache.h @@ -33,8 +33,8 @@ public: QString nextBatchToken() const; QMap<QString, RoomState> states(); - inline void deleteData(); - inline void unmount(); + void deleteData(); + void unmount() { isMounted_ = false; }; void removeRoom(const QString &roomid); void setup(); @@ -52,18 +52,3 @@ private: QString userId_; QString cacheDirectory_; }; - -inline void -Cache::unmount() -{ - isMounted_ = false; -} - -inline void -Cache::deleteData() -{ - qInfo() << "Deleting cache data"; - - if (!cacheDirectory_.isEmpty()) - QDir(cacheDirectory_).removeRecursively(); -} |