diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-01 14:48:52 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-01 14:48:52 +0100 |
commit | db882a70e1976e49ccbfa2f241d156b66354d68f (patch) | |
tree | 110ec1652531cb3a6e3206db5f78fdae7966f295 /common/pipeline.cpp | |
parent | 2f0605ded80cd4c216b8cbaaf228e98811207744 (diff) | |
download | sink-db882a70e1976e49ccbfa2f241d156b66354d68f.tar.gz sink-db882a70e1976e49ccbfa2f241d156b66354d68f.zip |
Cleanup
Diffstat (limited to 'common/pipeline.cpp')
-rw-r--r-- | common/pipeline.cpp | 1 |
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()); |