summaryrefslogtreecommitdiffstats
path: root/common/pipeline.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-01 14:48:52 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-01 14:48:52 +0100
commitdb882a70e1976e49ccbfa2f241d156b66354d68f (patch)
tree110ec1652531cb3a6e3206db5f78fdae7966f295 /common/pipeline.cpp
parent2f0605ded80cd4c216b8cbaaf228e98811207744 (diff)
downloadsink-db882a70e1976e49ccbfa2f241d156b66354d68f.tar.gz
sink-db882a70e1976e49ccbfa2f241d156b66354d68f.zip
Cleanup
Diffstat (limited to 'common/pipeline.cpp')
-rw-r--r--common/pipeline.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/pipeline.cpp b/common/pipeline.cpp
index 03d4e42..b7ca638 100644
--- a/common/pipeline.cpp
+++ b/common/pipeline.cpp
@@ -349,7 +349,6 @@ KAsync::Job<qint64> Pipeline::deletedEntity(void const *command, size_t size)
349 bool found = false; 349 bool found = false;
350 bool alreadyRemoved = false; 350 bool alreadyRemoved = false;
351 d->transaction.openDatabase(bufferType + ".main").findLatest(key, [&found, &alreadyRemoved](const QByteArray &key, const QByteArray &data) -> bool { 351 d->transaction.openDatabase(bufferType + ".main").findLatest(key, [&found, &alreadyRemoved](const QByteArray &key, const QByteArray &data) -> bool {
352 Sink::EntityBuffer buffer(const_cast<const char *>(data.data()), data.size());
353 auto entity = Sink::GetEntity(data.data()); 352 auto entity = Sink::GetEntity(data.data());
354 if (entity && entity->metadata()) { 353 if (entity && entity->metadata()) {
355 auto metadata = Sink::GetMetadata(entity->metadata()->Data()); 354 auto metadata = Sink::GetMetadata(entity->metadata()->Data());