diff options
author | Minijackson <minijackson@riseup.net> | 2018-07-16 11:04:19 +0200 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2018-07-16 11:04:19 +0200 |
commit | 27a408876e179d62dc25050a6f386bf2d9b80a9b (patch) | |
tree | 6ec1078c56c3624fb390f5238449ec979306097b | |
parent | 91bb50f02145d73ba9206fde908de4e20e098548 (diff) | |
download | sink-27a408876e179d62dc25050a6f386bf2d9b80a9b.tar.gz sink-27a408876e179d62dc25050a6f386bf2d9b80a9b.zip |
Fix empty function -_-"
-rw-r--r-- | common/storage/entitystore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/storage/entitystore.cpp b/common/storage/entitystore.cpp index 672eea1..71690fe 100644 --- a/common/storage/entitystore.cpp +++ b/common/storage/entitystore.cpp | |||
@@ -502,9 +502,9 @@ void EntityStore::readLatest(const QByteArray &type, const Identifier &id, const | |||
502 | [&](const DataStore::Error &error) { SinkWarningCtx(d->logCtx) << "Error during readLatest query: " << error.message << id; }); | 502 | [&](const DataStore::Error &error) { SinkWarningCtx(d->logCtx) << "Error during readLatest query: " << error.message << id; }); |
503 | } | 503 | } |
504 | 504 | ||
505 | void EntityStore::readLatest(const QByteArray &type, const QByteArray &key, const std::function<void(const QByteArray &uid, const EntityBuffer &entity)> callback) | 505 | void EntityStore::readLatest(const QByteArray &type, const QByteArray &uid, const std::function<void(const QByteArray &uid, const EntityBuffer &entity)> callback) |
506 | { | 506 | { |
507 | 507 | readLatest(type, Identifier::fromDisplayByteArray(uid), callback); | |
508 | } | 508 | } |
509 | 509 | ||
510 | void EntityStore::readLatest(const QByteArray &type, const Identifier &uid, const std::function<void(const ApplicationDomainType &)> callback) | 510 | void EntityStore::readLatest(const QByteArray &type, const Identifier &uid, const std::function<void(const ApplicationDomainType &)> callback) |