diff options
Diffstat (limited to 'common')
-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()); |