From ed1b034089dfc1948acaa80a5200cb0df28d0c1c Mon Sep 17 00:00:00 2001 From: Alexey Rusakov Date: Mon, 26 Jul 2021 22:36:44 +0200 Subject: SyncData: minor update to the cache version The minor component is now updated in .cpp, not in .h. --- lib/syncdata.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/syncdata.h') diff --git a/lib/syncdata.h b/lib/syncdata.h index b0e31726..b869a541 100644 --- a/lib/syncdata.h +++ b/lib/syncdata.h @@ -87,7 +87,8 @@ public: QStringList unresolvedRooms() const { return unresolvedRoomIds; } - static std::pair cacheVersion() { return { 11, 0 }; } + static constexpr int MajorCacheVersion = 11; + static std::pair cacheVersion(); static QString fileNameForRoom(QString roomId); private: -- cgit v1.2.3