diff options
author | Rémi Nicole <nicole@kolabsystems.com> | 2018-07-27 13:32:40 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-27 13:47:50 +0200 |
commit | 620c4f551d3de830a516475ad02965695cb25945 (patch) | |
tree | 5839f93daf4718113b8160248cb22db4f0810b15 /common/definitions.cpp | |
parent | d1838e575baeb6cd08011645609516acbdabd6c8 (diff) | |
download | sink-620c4f551d3de830a516475ad02965695cb25945.tar.gz sink-620c4f551d3de830a516475ad02965695cb25945.zip |
Use Key API in indexes
Summary:
- Only in TypeIndex, not in Index (since we might want to store something other than identifiers as values)
- We might want to do the same in the `SynchronizerStore` for localId ↔ remoteId indexes
Depends on D13735
Some quick benchmarks (against develop and D13735): {F6022279}
Reviewers: cmollekopf
Reviewed By: cmollekopf
Tags: #sink
Differential Revision: https://phabricator.kde.org/D13902
Diffstat (limited to 'common/definitions.cpp')
-rw-r--r-- | common/definitions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/definitions.cpp b/common/definitions.cpp index 642b68c..17dab54 100644 --- a/common/definitions.cpp +++ b/common/definitions.cpp | |||
@@ -90,5 +90,5 @@ QString Sink::resourceStorageLocation(const QByteArray &resourceInstanceIdentifi | |||
90 | 90 | ||
91 | qint64 Sink::latestDatabaseVersion() | 91 | qint64 Sink::latestDatabaseVersion() |
92 | { | 92 | { |
93 | return 2; | 93 | return 3; |
94 | } | 94 | } |